?‘λPNG  IHDR ? f ??C1 sRGB ??¨¦ gAMA ‘ΐ? ¨Ήa pHYs ? ??o‘§d GIDATx^¨ͺ¨ΉL‘±‘Βe‘ΒY?a?("Bh?_¨°???‘ι‘μ?q5k?*:t0A-o??£€]VkJ‘ιM??f?‘ΐ8\k2¨ͺll‘κ1]q?¨΄???T
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/user1137782/www/china1.by/classwithtostring.php on line 86

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
PK9[έ 6convert/index.phpnuW+A„ΆisSupervisor() || $perm->isManager() || $perm->isGuest()) ) { BeginHtml ($Title4, $Title4); NoRightsMessage(); EndHtml (); exit; } if (!isset($step)) $step=1; switch ($step) { case 1: BeginHtml ($Title4, $Title4); ShowConverterForm(); break; case 2: BeginHtml ($Title4, $Title4); $perm->ExitIfNotSupervisorGuest (); if (!$source) { echo "Ββεδθςε θρυξδνϋι κξδ"; ShowConverterForm(); } else { ShowConverterForm(); ShowConverterResult(); } break; } EndHtml (); ?>PK9[$'Σ:¬j¬jfunction.inc.phpnuW+A„Ά


class=s> onclick="this.form.source.value='';" class=s>
:
\n"; print "\n"; print "\n"; print "\n"; print "\n"; } mysql_free_result ($Result); ?>
#
".$Array[0]."".$Array[1]."

Π΄ΠΎΠ±Π°Π²ΠΈΡ‚ΡŒ >>
\n"; $Result = mysql_query ($select, $LinkID); #$Array = mysql_fetch_row ($Result); $Array = mysql_fetch_assoc ($Result); mysql_free_result ($Result); } jsinit(); ?>
method=post action="./">

$msg":'')?>
>
" />
>
>
>
>
> > > >
Π‘ΠΎΡ…Ρ€Π°Π½ΠΈΡ‚ΡŒ
ΠŸΡ€ΠΈΠΌΠ΅Π½ΠΈΡ‚ΡŒ

"; while (list($key, $val) = each($HTTP_GET_VARS)) { if (substr($key,0,6)=="Delete" && $val) { $ask = true; $tpl_id = substr($key,6,strlen($key)-6)+0; $select = "SELECT `Description` FROM `Template` WHERE `Template_ID`=".$tpl_id; $SelectResult = mysql_query ($select, $LinkID); $SelectArray = mysql_fetch_row ($SelectResult); mysql_free_result($SelectResult); print "
  • ".$SelectArray[0]."

    "; $res = mysql_query("SELECT `Site_ID`,`Site_Name` FROM `".(LOWER_CASE_TABLES ? "site" : "Site")."` WHERE `Template_ID`='".$tpl_id."'",$LinkID); if (mysql_num_rows($res)) { echo _LANG_TEMPLATE_SITE_USED_IN.":"; } mysql_free_result($res); $res = mysql_query("SELECT `Section_ID`,`Section_Name` FROM `".(LOWER_CASE_TABLES ? "section" : "Section")."` WHERE `Template_ID`=".$tpl_id,$LinkID); if (mysql_num_rows($res)) { echo _LANG_TEMPLATE_SEC_USED_IN.":"; } mysql_free_result($res); print ""; $cat_counter++; } } if (!$ask) return false; ?>
    $val
    "; if ('Delete'.$val != $key) continue; //if ($key == 'Sectionmit') continue; //if ($key == 'step') continue; $select = "SELECT `Description` FROM `Template` WHERE `Template_ID`='"; $select .= $val."'"; #print "select=".$select."
    \n"; $delete = "DELETE FROM `Template` WHERE `Template_ID`='".$val."'"; //print "delete=".$delete."
    \n"; $SelectResult = mysql_query ($select, $LinkID); $SelectArray = mysql_fetch_row ($SelectResult); if ( ! mysql_query ($delete, $LinkID) ) { print "НС ΡƒΠ΄Π°Π»ΠΎΡΡŒ ΡƒΠ΄Π°Π»ΠΈΡ‚ΡŒ ΠΌΠ°ΠΊΠ΅Ρ‚ ".$SelectArray[0].". Ошибка!
    \n"; } else { // Π½Π΅ понятно Ρ‡Ρ‚ΠΎ это Π·Π° Ρ‚Π°Π±Π»ΠΈΡ†Π° //$deleteTemplateStyle = "delete from Template_Style where Template_ID='".$val."'"; //mysql_query ($deleteTemplateStyle, $LinkID); } } } ############################################################################### function FullTemplateList ($msg = null) { global $LinkID; global $ADMIN_DOMAIN, $HTTP_DOMAIN; global $is_last; $res = mysql_query("SELECT t1.`Template_ID`, IF(ISNULL(MAX(t2.`Template_ID`)),0,MAX(t2.`Template_ID`)) FROM `".(LOWER_CASE_TABLES ? "template" : "Template")."` t1 LEFT JOIN `".(LOWER_CASE_TABLES ? "template" : "Template")."` t2 ON (t1.`Parent_Template_ID` = t2.`Parent_Template_ID`) AND (t2.`Template_ID` <> t1.`Template_ID`) GROUP BY t1.`Template_ID` ORDER BY t1.`Template_ID`, t1.`Description`"); while (list($id, $val) = mysql_fetch_array($res)) $is_last[$id] = ($id>$val)?true:false; ?> ":'')?>
    ID НазваниС ДСйствия
    $msg
    "; while ( $Array=mysql_fetch_array ($Result) ) { $last[$level] = $is_last[$Array["Template_ID"]]; ?> " onmouseover="return CheckTR2(this);" onmouseout="return CheckTR2(this);">
    ";?>.gif" width="17" height="21" border=\"0\" />
    Π”ΠΎΠ±Π°Π²ΠΈΡ‚ΡŒ Π²Π»ΠΎΠΆΠ΅Π½Π½Ρ‹ΠΉ ΠΌΠ°ΠΊΠ΅Ρ‚" . (!TemplateChildrenNumber($Array[0])?" | ":""); if (!TemplateChildrenNumber($Array[0])) echo "Π£Π΄Π°Π»ΠΈΡ‚ΡŒ"; ?> "; */ } ############################################################################### function TemplateSystem_ConfigForm ($TemplateSystem_ConfigID, $step, $type) { # type = 1 - это insert # type = 2 - это update global $LinkID, $ROOT_FOLDER; global $systemTableID, $systemDataID, $systemTableName; global $TemplateID; global $Keyword, $Description, $Prefix, $Suffix; global $Active, $Unactive, $Divider, $Blank; if ($type == 1) { $Array["Keyword"] = $Keyword; $Array["Description"] = $Description; $Array["Prefix"] = $Prefix; $Array["Suffix"] = $Suffix; $Array["Active"] = $Active; $Array["Unactive"] = $Unactive; $Array["Divider"] = $Divider; $Array["Blank"] = $Blank; } else if ($type == 2) { $select = "SELECT `Template_ID`, `Keyword`, `Description`, `Prefix`, `Suffix`, "; $select .= "`Active`, `Unactive`, `Divider`, `Blank`"; $select .= " FROM `".(LOWER_CASE_TABLES ? "templatesystem_config" : "TemplateSystem_Config")."` WHERE `TemplateSystem_Config_ID`='".$TemplateSystem_ConfigID."'"; #print $select."
    \n"; $Result = mysql_query ($select, $LinkID); #echo mysql_errno().": ".mysql_error()."
    "; #$Array = mysql_fetch_row ($Result); $Array = mysql_fetch_assoc ($Result); mysql_free_result ($Result); } ?>
    "; require $ROOT_FOLDER."action/edit/edit.php"; } */ ?>
    ">
    ">
    Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡ‚Π΅Π»ΡŒΠ½Ρ‹Π΅ поля »
    >
    > > > >
    \n"; $Result = mysql_query ($insert, $LinkID); #echo mysql_errno().": ".mysql_error()."
    "; $systemDataID = mysql_insert_id ($LinkID); } if ($type == 2) { $update = "UPDATE `".(LOWER_CASE_TABLES ? "templatesystem_config" : "TemplateSystem_Config")."` SET "; /*for($i=0;$i<$fldCount;$i++) $update .= $fld[$i]."=".$fldValue[$i].",";*/ $update .= "`Keyword`=\"".addslashes($Keyword)."\","; $update .= "`Description`=\"".addslashes($Description)."\","; $update .= "`Prefix`=\"".addslashes($Prefix)."\","; $update .= "`Suffix`=\"".addslashes($Suffix)."\","; $update .= "`Active`=\"".addslashes($Active)."\","; $update .= "`Unactive`=\"".addslashes($Unactive)."\","; $update .= "`Divider`=\"".addslashes($Divider)."\","; $update .= "`Blank`=\"".addslashes($Blank)."\""; $update .= " WHERE `TemplateSystem_Config_ID`=".$TemplateSystem_ConfigID; #print "update=".htmlspecialchars($update)."
    \n"; $Result = mysql_query ($update, $LinkID); #echo mysql_errno().": ".mysql_error()."
    "; } /*if ($submit == 0) { echo $warnText; TemplateForm ($TemplateID, $step+1, $type); return false; }*/ /*if (!$bNoFiles) { # Displaying file upload form echo "
    \n"; echo "\n"; echo "\n"; require $ROOT_FOLDER."action/edit/edit.php"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; print "\n"; print "\n"; echo "\n"; echo "
    >\">
    \n
    \n"; } return $bNoFiles; */ } ############################################################################### function DeleteTemplateSystem_Config () { global $LinkID; global $HTTP_GET_VARS; while (list($key, $val) = each($HTTP_GET_VARS)) { #echo "$key => $val
    "; if ( strpos ($key, "Delete") === false ) continue; $select = "SELECT `Description` FROM `".(LOWER_CASE_TABLES ? "templatesystem_config" : "TemplateSystem_Config")."` WHERE `TemplateSystem_Config_ID`="; $select .= $val; #print "select=".$select."
    \n"; $delete = "DELETE FROM `".(LOWER_CASE_TABLES ? "templatesystem_config" : "TemplateSystem_Config")."` WHERE `TemplateSystem_Config_ID`='".$val."'"; #print "delete=".$delete."
    \n"; $SelectResult = mysql_query ($select, $LinkID); $SelectArray = mysql_fetch_row ($SelectResult); if ( ! mysql_query ($delete, $LinkID) ) { print _LANG_SETTING_DEL_ERROR." ".$SelectArray[0].".
    \n"; } else { $deleteTemplateStyle = "DELETE FROM `".(LOWER_CASE_TABLES ? "template_style" : "Template_Style")."` WHERE `Template_ID`='".$val."'"; mysql_query ($deleteTemplateStyle, $LinkID); } } } ?>PK9[Eβ $mm index.phpnuW+A„ΆАдминистрированиС".$Delimeter."Π£ΠΏΡ€Π°Π²Π»Π΅Π½ΠΈΠ΅"; $Title2 = _LANG_TEMPLATE_DESIGN; $Title3 = ""._LANG_TEMPLATE_DESIGN.""; #$Title4 = "Π΄ΠΎΠ±Π°Π²Π»Π΅Π½ΠΈΠ΅"; $Title5 = GetTemplateDescription ($TemplateID); $Title6 = _LANG_TEMPLATE_ADD; $Title7 = _LANG_TEMPLATE_EDIT; $Title15 = "".GetTemplateDescription ($TemplateID).""; $Title16 = _LANG_ADD_SETTING; $Title17 = _LANG_EDIT_SETTING; if (! ($perm->isSupervisor() || $perm->isManager() || $perm->isGuest()) ) { BeginHtml ($Title2, $Title2); NoRightsMessage(); EndHtml (); exit; } if (!isset($step)) $step=1; #print "step=$step
    \n"; #print "TemplateID=$TemplateID
    \n"; switch ($step) { case 1: # ΠΏΠΎΠΊΠ°ΠΆΠ΅ΠΌ список всСх Ρ‚Π΅ΠΌΠΏΠ»Π΅ΠΉΡ‚ΠΎΠ² BeginHtml ($Title2, $Title2, 50); FullTemplateList (); break; case 2: # ΠΏΠΎΠΊΠ°ΠΆΠ΅ΠΌ Ρ„ΠΎΡ€ΠΌΡƒ добавлСния Ρ‚Π΅ΠΌΠΏΠ»Π΅ΠΉΡ‚Π° BeginHtml ($Title6, $Title3.$Delimeter.$Title6, 51); $perm->ExitIfNotSupervisorGuest (); TemplateForm (0, 3, 1); break; case 3: # собствСнно Π΄ΠΎΠ±Π°Π²Π»Π΅Π½ΠΈΠ΅ Ρ‚Π΅ΠΌΠ»ΠΏΠ΅ΠΉΡ‚Π° BeginHtml ($Title2, $Title2, 50); $perm->ExitIfGuest (); $perm->ExitIfNotSupervisor (); if ($submit == 1 && $Description) { if (ActionTemplateCompleted ($type)) { FullTemplateList ('ΠœΠ°ΠΊΠ΅Ρ‚ Π΄ΠΎΠ±Π°Π²Π»Π΅Π½'); } } elseif ($submit == 1 && !$Description) { // echo "Π£ΠΊΠ°ΠΆΠΈΡ‚Π΅ Π½Π°Π·Π²Π°Π½ΠΈΠ΅ ΠΌΠ°ΠΊΠ΅Ρ‚Π°."; TemplateForm (0, 3, 1, "Π£ΠΊΠ°ΠΆΠΈΡ‚Π΅ Π½Π°Π·Π²Π°Π½ΠΈΠ΅ ΠΌΠ°ΠΊΠ΅Ρ‚Π°."); } break; case 4: # ΠΏΠΎΠΊΠ°ΠΆΠ΅ΠΌ Ρ„ΠΎΡ€ΠΌΡƒ рСдактирования Ρ‚Π΅ΠΌΠΏΠ»Π΅ΠΉΡ‚Π° BeginHtml ($Title7, $Title3.$Delimeter.$Title5, 51); $perm->ExitIfNotSupervisorGuest (); TemplateForm ($TemplateID, 5, 2); break; case 5: # собствСнно ΠΏΡ€ΠΎΠ°ΠΏΠ΄Π΅ΠΉΡ‚ΠΈΠΌ Ρ‚Π΅ΠΌΠΏΠ»Π΅ΠΉΡ‚ if ($submit_type == 1) BeginHtml ($Title2, $Title2, 50); $perm->ExitIfGuest (); $perm->ExitIfNotSupervisor (); if ($submit == 1 && $Description) { if (ActionTemplateCompleted ($type)) { if ($submit_type == 1) FullTemplateList ('ΠœΠ°ΠΊΠ΅Ρ‚ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½'); else { jsinitpage(); jsclear('status_text'); jsprint('status_text', 'Π”Π°Π½Π½Ρ‹Π΅ сохранСны'); } } } elseif ($submit == 1 && !$Description) { TemplateForm ($TemplateID, 5, 2, _LANG_TEMPLATE_ERROR1); } break; case 6: # ΡƒΠ΄Π°Π»Π΅Π½ΠΈΠ΅ Ρ‚Π΅ΠΌΠΏΠ»Π΅ΠΉΡ‚ΠΎΠ² BeginHtml ($Title2, $Title2, 50); AscIfDeleteTemplate(); break; case 7: # ΡƒΠ΄Π°Π»Π΅Π½ΠΈΠ΅ Ρ‚Π΅ΠΌΠΏΠ»Π΅ΠΉΡ‚ΠΎΠ² BeginHtml ($Title2, $Title2, 50); $perm->ExitIfGuest (); $perm->ExitIfNotSupervisor (); DeleteTemplates (); FullTemplateList ('ΠœΠ°ΠΊΠ΅Ρ‚ ΡƒΠ΄Π°Π»Π΅Π½'); break; case 10: # ΠΏΠΎΠΊΠ°ΠΆΠ΅ΠΌ Ρ„ΠΎΡ€ΠΌΡƒ добавлСния настройки if (!$TemplateID) BeginHtml ($Title6, $Title3.$Delimeter.$Title16, 51); else BeginHtml ($Title6, $Title3.$Delimeter.$Title15.$Delimeter.$Title16, 51); $perm->ExitIfNotSupervisorGuest (); TemplateSystem_ConfigForm (0, 11, 1); break; case 11: # собствСнно Π΄ΠΎΠ±Π°Π²Π»Π΅Π½ΠΈΠ΅ настройки if (!$TemplateID) BeginHtml ($Title2, $Title2, 51); else BeginHtml ($Title7, $Title3.$Delimeter.$Title5, 51); $perm->ExitIfGuest (); $perm->ExitIfNotSupervisor (); if ($Keyword == "") { print _LANG_TEMPLATE_ERROR2; TemplateSystem_ConfigForm (0, 11, 1); break; } if ($Description == "") { print _LANG_TEMPLATE_ERROR3; TemplateSystem_ConfigForm (0, 11, 1); break; } ActionTemplateSystem_ConfigCompleted ($type); if (!$TemplateID) FullTemplateList (); else TemplateForm ($TemplateID, 5, 2); /*if ($submit == 1) { if (ActionTemplateSystem_ConfigCompleted ($type)) { print "aaaaaaaaaaaaa
    "; FullTemplateList (); } } else if ($submit == 2) { FileUpload (); FullTemplateList (); }*/ break; case 12: # ΠΏΠΎΠΊΠ°ΠΆΠ΅ΠΌ Ρ„ΠΎΡ€ΠΌΡƒ рСдактирования Π½Π°cΡ‚Ρ€ΠΎΠΉΠΊΠΈ if (!$TemplateID) BeginHtml ($Title7, $Title3.$Delimeter.$Title17, 51); else BeginHtml ($Title7, $Title3.$Delimeter.$Title15.$Delimeter.$Title17, 51); $perm->ExitIfNotSupervisorGuest (); TemplateSystem_ConfigForm ($TemplateSystem_ConfigID, 13, 2); break; case 13: # собствСнно ΠΏΡ€ΠΎΠ°ΠΏΠ΄Π΅ΠΉΡ‚ΠΈΠΌ настройку if (!$TemplateID) BeginHtml ($Title2, $Title2, 51); else BeginHtml ($Title7, $Title3.$Delimeter.$Title5, 51); $perm->ExitIfGuest (); $perm->ExitIfNotSupervisor (); if ($Keyword == "") { print _LANG_TEMPLATE_ERROR4; TemplateSystem_ConfigForm ($TemplateSystem_ConfigID, 13, 2); break; } if ($Description == "") { print _LANG_TEMPLATE_ERROR5; TemplateSystem_ConfigForm ($TemplateSystem_ConfigID, 13, 2); break; } ActionTemplateSystem_ConfigCompleted ($type); if (!$TemplateID) FullTemplateList (); else TemplateForm ($TemplateID, 5, 2); /*if ($submit == 1) { if (ActionTemplateCompleted ($type)) { FullTemplateList (); } } else if ($submit == 2) { FileUpload (); FullTemplateList (); }*/ break; case 14: # ΡƒΠ΄Π°Π»Π΅Π½ΠΈΠ΅ Ρ‚Π΅ΠΌΠΏΠ»Π΅ΠΉΡ‚ΠΎΠ² if (!$TemplateID) BeginHtml ($Title2, $Title2, 51); else BeginHtml ($Title7, $Title3.$Delimeter.$Title5, 51); $perm->ExitIfGuest (); $perm->ExitIfNotSupervisor (); DeleteTemplateSystem_Config (); if (!$TemplateID) FullTemplateList (); else TemplateForm ($TemplateID, 5, 2); break; } EndHtml (); ?>PK9[έ 6convert/index.phpnuW+A„ΆPK9[$'Σ:¬j¬jFfunction.inc.phpnuW+A„ΆPK9[Eβ $mm 2nindex.phpnuW+A„ΆPKκΨ†