Changeset 218


Ignore:
Timestamp:
Jan 12, 2008, 10:54:50 PM (17 years ago)
Author:
maron
Message:

Filtrování prázdných políček, script priorite.php

Location:
quests
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • quests/form.php

    r214 r218  
    8484<?php  foreach($Texts as $Index => $TextItem)
    8585          {         
     86          if ($LineAJ[$TextItem[0]] <> '' and $Line[$TextItem[0]] <> '') 
    8687            echo '
    8788      <tr>
  • quests/includes/config.sample.php

    r206 r218  
    77    'Password' => '',
    88    'Database' => 'quests',
     9    'DatabaseCharacters' => 'Characters',
    910    'Prefix' => '',
    1011    'Charset' => 'latin2',
  • quests/save.php

    r215 r218  
    77    $entry = mysql_escape_string($_POST['entry']); 
    88    $Title = mysql_escape_string($_POST['Title']); 
    9     $Details = mysql_escape_string($_POST['Details']);
    10     $Objectives = mysql_escape_string($_POST['Objectives']);
    11     $OfferRewardText = mysql_escape_string($_POST['OfferRewardText']);
    12     $RequestItemsText = mysql_escape_string($_POST['RequestItemsText']);
    13     $EndText = mysql_escape_string($_POST['EndText']);
    14     $ObjectiveText1 = mysql_escape_string($_POST['ObjectiveText1']);
    15     $ObjectiveText2 = mysql_escape_string($_POST['ObjectiveText2']);
    16     $ObjectiveText3 = mysql_escape_string($_POST['ObjectiveText3']);
    17     $ObjectiveText4 = mysql_escape_string($_POST['ObjectiveText4']);
     9    $Details = mysql_escape_string(@$_POST['Details']);
     10    $Objectives = mysql_escape_string(@$_POST['Objectives']);
     11    $OfferRewardText = mysql_escape_string(@$_POST['OfferRewardText']);
     12    $RequestItemsText = mysql_escape_string(@$_POST['RequestItemsText']);
     13    $EndText = mysql_escape_string(@$_POST['EndText']);
     14    $ObjectiveText1 = mysql_escape_string(@$_POST['ObjectiveText1']);
     15    $ObjectiveText2 = mysql_escape_string(@$_POST['ObjectiveText2']);
     16    $ObjectiveText3 = mysql_escape_string(@$_POST['ObjectiveText3']);
     17    $ObjectiveText4 = mysql_escape_string(@$_POST['ObjectiveText4']);
    1818
    1919    $UserID = mysql_escape_string($_SESSION['UserID']);
Note: See TracChangeset for help on using the changeset viewer.