Вход Регистрация
Файл: comment/admin.php
Строк: 1003
<?php
    
if (ereg("^ftalb_com",$QUERY_STRING)):
    
$data_gb='data/'.$albom[$ftalb_com].'/comment.dat';
    echo 
"<br>";
    function 
cutty ($string)
        {
        
$string trim($string);
        
$string stripslashes($string);
        
$string str_replace ("<""&lt;"$string);
        
$string str_replace (">""&gt;"$string);
        
$string ereg_replace ('\"'"&quot;"$string);
        
$string ereg_replace ("\'""&quot;"$string);
        
$string ereg_replace ("&quot;""&quot;"$string);
        
$string ereg_replace ("'""'"$string);
        
$string ereg_replace ("'""`"$string);
        
$string str_replace ("r"""$string);
        
$string str_replace ("n""<br>"$string);
        
$string str_replace ("%""&#37;"$string);
        
$string str_replace ("!""&#33;"$string);
        
$string str_replace ("^ +"""$string);
        
$string str_replace (" +$"""$string);
        
$string str_replace (":""&#58;"$string);
        return (
$string);
        }
          if(isset(
$changes)||isset($delete)):
               if(
is_file($data_gb) && is_readable($data_gb)):
                    
$read=fopen($data_gb,"r") or die("<p class=error>$leng_comment_ad[0] $data_gb</p>");
                    
$file_change=file("$data_gb");
                    
fclose($read);
               endif;
                         for(
$i=0;$i<=count($file_change);$i++)
               {
               list(
$name_foto1,$name1,$city1,$date1,$mail1,$url1,$mess1,$answer1)=explode("::"$file_change[$i]);
               if (
$name_foto1==$foto_com) {$id=$i; break;}
               }
                   
$name_ cutty($name_);
                   
$city_ cutty($city_);
                   
$date_ cutty($date_);
                   
$mail_ cutty($mail_);
                   
$url_ cutty($url_);
                   
$mess_ cutty($mess_);
                   
$answer_ cutty($answer_);
               if (
$name_foto1==$foto_com)
               {
                   
$name2 split ("|"$name1);
                   
$city2 split ("|"$city1);
                   
$date2 split ("|"$date1);
                   
$mail2 split ("|"$mail1);
                   
$url2 split ("|"$url1);
                   
$mess2 split ("|"$mess1);
                   
$answer2 split ("|"$answer1);
               }
               if(isset(
$changes)):
                    if (
$iii==0) {$name=$name_;} else {$name=$name2[0];}
                    if (
$iii==0) {$city=$city_;} else {$city=$city2[0];}
                    if (
$iii==0) {$date=$date_;} else {$date=$date2[0];}
                    if (
$iii==0) {$mail=$mail_;} else {$mail=$mail2[0];}
                    if (
$iii==0) {$url=$url_;} else {$url=$url2[0];}
                    if (
$iii==0) {$mess=$mess_;} else {$mess=$mess2[0];}
                    if (
$iii==0) {$answer=$answer_;} else {$answer=$answer2[0];}

                    for (
$i=1;$i<count($name2);$i++)
                    {                     if (
$i==$iii)
                    {                     
$name=$name.'|'.$name_;
                    
$city=$city.'|'.$city_;
                    
$date=$date.'|'.$date_;
                    
$mail=$mail.'|'.$mail_;
                    
$url=$url.'|'.$url_;
                    
$mess=$mess.'|'.$mess_;
                    
$answer=$answer.'|'.$answer_;
                    }
                    else
                    {                     
$name=$name.'|'.$name2[$i];
                    
$city=$city.'|'.$city2[$i];
                    
$date=$date.'|'.$date2[$i];
                    
$mail=$mail.'|'.$mail2[$i];
                    
$url=$url.'|'.$url2[$i];
                    
$mess=$mess.'|'.$mess2[$i];
                    
$answer=$answer.'|'.$answer2[$i];
                    }
                    }
                    
$file_change[$id]="$foto_com::$name::$city::$date::$mail::$url::$mess::$answer::rn";
                    
$number=$id+1;
               endif;
               if(isset(
$delete)):
                    if (
$iii==0)
                    {                         
$qwerty_qwerty=2;                         $name=$name2[1];
                        
$city=$city2[1];
                        
$date=$date2[1];
                        
$mail=$mail2[1];
                        
$url=$url2[1];
                        
$mess=$mess2[1];
                        
$answer=$answer2[1];
                    }
                    else
                    {   
$qwerty_qwerty=1;                         $name=$name2[0];
                        
$city=$city2[0];
                        
$date=$date2[0];
                        
$mail=$mail2[0];
                        
$url=$url2[0];
                        
$mess=$mess2[0];
                        
$answer=$answer2[0];
                    }
                    for (
$i=$qwerty_qwerty;$i<count($name2);$i++)
                    {
                    if ((
$i!=$iii))
                    {
                    
$name=$name.'|'.$name2[$i];
                    
$city=$city.'|'.$city2[$i];
                    
$date=$date.'|'.$date2[$i];
                    
$mail=$mail.'|'.$mail2[$i];
                    
$url=$url.'|'.$url2[$i];
                    
$mess=$mess.'|'.$mess2[$i];
                    
$answer=$answer.'|'.$answer2[$i];
                    }
                    }
                    
$file_change[$id]="$foto_com::$name::$city::$date::$mail::$url::$mess::$answer::rn";
                    if (!isset(
$name) && $name=="")
                    {                     
$file_change[$id]="";
                    }
                    
$number=$id+1;
               endif;

               if(
is_file($data_gb) && is_writable($data_gb)):
                    
$write=fopen($data_gb,"w") or die("<p class=error>$leng_comment_ad[0] $data_gb</p>");
                    
flock($write,2);
                    foreach(
$file_change as $key=>$value)
                         
fputs($write,$value);
                    
flock($write,3);
                    
fclose($write);
               endif;
          endif;

          if(
is_file($data_gb) && is_readable($data_gb))
               {
               
$readdata=fopen($data_gb,"r") or die("<p class=error>$leng_comment_ad[0] $data</p>");
               
$file_array=file("$data_gb");
               
fclose($readdata);
               }
          else
          die(
"<p class=error>$data_gb $leng_comment_ad[1]</p>");
               for(
$i=0;$i<=count($file_array);$i++)
               {
               list(
$name_foto1,$name1,$city1,$date1,$mail1,$url1,$mess1,$answer1)=explode("::"$file_array[$i]);
               if (
$name_foto1==$foto_com) { $name split ("|"$name1); break;}
               }
          
$lines=0;
          if (
$name[0]!="")
          {
          
$lines=count($name);
          }
        if (!isset(
$page)) { $page 1; }

          echo 
"<table bgcolor=#CCCCCC border=0 cellpadding=2 cellspacing=1 width=600><tr><td bgcolor=#FFFFFF class=p2 align=center><b>$leng_comment_in[43] $lines</b></td></tr></table>";
          for(
$i=0;$i<=count($file_array);$i++)
               {
               list(
$name_foto1,$name1,$city1,$date1,$mail1,$url1,$mess1,$answer1)=explode("::"$file_array[$i]);
               if (
$name_foto1==$foto_com) {$id=$i; break;}
               }

               if (
$name_foto1==$foto_com)
               {
                   
$name split ("|"$name1);
                   
$city split ("|"$city1);
                   
$date split ("|"$date1);
                   
$mail split ("|"$mail1);
                   
$url  split ("|"$url1);
                   
$mess split ("|"$mess1);
                   
$answer split ("|"$answer1);
               for (
$iii=count($name)-1;$iii>=0;$iii--)
               {
               if(!(
$name[$iii]=="" && $mess[$iii]=="")):
               
$messnum=$iii+1;
               
$mess str_replace("<br>","n",$mess);
               
$answer str_replace("<br>","n",$answer);
               echo 
"</td></tr><tr><td><table border=0 cellpadding=0 cellspacing=0 width=600 height=4><tr><td height=4></td></tr></table>";
               echo 
"<table border=0 cellpadding=2 cellspacing=1 width=600 bgcolor=#CCCCCC>";
               echo 
"<tr><td align=center class=p bgcolor=#E8E8FF><b>$leng_comment_ad[2] #$messnum</b></td></tr>";
               echo 
"<tr><td bgcolor=#FFFFFF>";
               echo 
"<form action=admin.php?ftalb_com=$ftalb_com&foto_com=$foto_com method=post>";
               echo 
"<input name=iii type=hidden value=$iii>";
               echo 
"<table width=527 cellspacing=2 cellpadding=1 border=0 align=center class=p>";
               echo 
"<tr><td align=right>$leng_comment_ad[3]</td><td align=center><input class=p style="width424px;" name=name_ type=text value="$name[$iii]"></td></tr>";
               echo 
"<tr><td align=right>$leng_comment_ad[4]</td><td align=center><input class=p style="width424px;" name=mail_ type=text value="$mail[$iii]"></td></tr>";
               echo 
"<tr><td align=right>$leng_comment_ad[5]</td><td align=center><input class=p style="width424px;" name=url_ type=text value="$url[$iii]"></td></tr>";
               echo 
"<tr><td align=right>$leng_comment_ad[6]</td><td align=center><input class=p style="width424px;" name=city_ type=text value="$city[$iii]"></td></tr>";
               echo 
"<tr><td align=right>$leng_comment_ad[7]</td><td align=center><input class=p style="width424px;" name=date_ type=text value="$date[$iii]"></td></tr>";
               echo 
"<tr><td align=right>$leng_comment_ad[2]:</td><td align=center><textarea class=p style="width424px;" name=mess_ rows=5 cols=80>$mess[$iii]</textarea></td></tr>";
               echo 
"<tr><td align=right>$leng_comment_ad[8]</td><td align=center><textarea class=p style="width424px;" name=answer_ rows=5 cols=80>$answer[$iii]</textarea></td></tr>";
               echo 
"<tr><td colspan=2 align=center><input type=submit style="color:#000000;width:100px;cursor:hand;" name=changes value="$edchange" onmouseover="this.style.backgroundColor='#E8E8FF';" onmouseout="this.style.backgroundColor='#FFFFFF';">&nbsp;&nbsp;";
               
echo "<input type=submit   onclick="a=confirm('$leng_comment_ad[9]'); if(a==0) return false;" style="color:#CC0000;width:100px;cursor:hand;" name=delete value="$logdel" onmouseover="this.style.backgroundColor='#E8E8FF';" onmouseout="this.style.backgroundColor='#FFFFFF';"></td></tr>";
               
echo "</form></table>";
               echo 
"</td></tr></table>";
               endif;
               }
              }
          echo 
"</td></tr><tr><td><table border=0 cellpadding=0 cellspacing=0 width=600 height=4><tr><td height=4></td></tr></table>";
          echo 
"<table bgcolor=#CCCCCC border=0 cellpadding=2 cellspacing=1 width=600><tr><td bgcolor=#FFFFFF class=p2 align=center><b>$leng_comment_in[43] $lines</b></td></tr></table>";
     
$QUERY_STRING=="login";
     endif;

     if (
$QUERY_STRING=="options"):

          if(isset(
$change_opt_com)):
               
$upconfig="<?phprn";
               
$upconfig.="$TABWIDTH = "$TABWIDTH";rn";
               
$upconfig.="$FONTSIZE = $FONTSIZE;rn";
               
$upconfig.="$DARKFONTCOLOR = "$DARKFONTCOLOR";rn";
               
$upconfig.="$DARKFONTLINK = "$DARKFONTLINK";rn";
               
$upconfig.="$DARKFONTLINKHOVER = "$DARKFONTLINKHOVER";rn";
               
$upconfig.="$LIGHTFONTCOLOR = "$LIGHTFONTCOLOR";rn";
               
$upconfig.="$LIGHTFONTLINK = "$LIGHTFONTLINK";rn";
               
$upconfig.="$LIGHTFONTLINKHOVER = "$LIGHTFONTLINKHOVER";rn";
               
$upconfig.="$ANSW = "$ANSW";rn";
               
$upconfig.="$ANSWFONTCOLOR = "$ANSWFONTCOLOR";rn";
               
$upconfig.="$ANSWFONTLINK = "$ANSWFONTLINK";rn";
               
$upconfig.="$ANSWFONTLINKHOVER = "$ANSWFONTLINKHOVER";rn";
               
$upconfig.="$time_of_zaderjka = "$time_of_zaderjka_";rn";
               
$upconfig.="$title_comment_1 = "$title_comment_1_";rn";
               
$upconfig.="$title_comment_2 = "$title_comment_2_";rn";
               
$upconfig.="$maxlenght = "$maxlenght_";rn";
               
$upconfig.="$maxword = "$maxword_";rn";
               
$upconfig.="$maxmail = "$maxmail_";rn";
               
$upconfig.="$maxurl = "$maxurl_";rn";
               
$upconfig.="$maxcity = "$maxcity_";rn";
               
$upconfig.="$phpmailer_onoff = "$phpmailer_onoff_";rn";
               
$upconfig.="$phpmailer_SMTP_server = "$phpmailer_SMTP_server_";rn";
               
$upconfig.="$phpmailer_SMTP_username = "$phpmailer_SMTP_username_";rn";
               
$upconfig.="$phpmailer_SMTP_password = "$phpmailer_SMTP_password_";rn";
               
$upconfig.="$PICWIDTH = "$PICWIDTH";rn";
               
$upconfig.="$PICHEIGHT = "$PICHEIGHT";rn";
               
$upconfig.="$config = "$config";rn";
               
$upconfig.="$exech = "$exech";rn";
               
$upconfig.="$send_form = "$send_form";rn";
               
$upconfig.="$anti_email = "$anti_email_";rn";
               
$upconfig.="$email_size = "$email_size_";rn";
               
$upconfig.="$spamcontrol = "$spamcontrol_";rn";
               
$upconfig.="$spamcontrol_length = $spamcontrol_length_;rn";
               
$upconfig.="$spamcontrol_size = "$spamcontrol_size_";rn";
               
$upconfig.="$spamcontrol_color = "$spamcontrol_color_";rn";
               
$upconfig.="?>";
               if(
is_file($config) && is_writable($config)):
                    
$write=fopen($config,"w") or die("<p class=error>$leng_comment_ad[0] $config</p>");
                    
flock($write,2);
                    
fputs($write,$upconfig);
                    
flock($write,3);
                    
fclose($write);
                endif;
           endif;

          include(
"comment/config.inc.php");
          echo 
"<tr><td bgcolor=#FFFFFF align=center><form action=admin.php?options method=post>";
          echo 
"<table width=590 cellspacing=5 cellpadding=1 border=0 class=p>";
          echo 
"<tr><td align=center width=427><b>$leng_comment_ad[10]</b></td><td width=100></td></tr>";
          echo 
"<tr><td align=left width=427>$leng_comment_ad[11]</td><td width=100><select size="1" name=time_of_zaderjka_>";
          switch (
$time_of_zaderjka)
          {
          case -
: echo "<option value="-1" selected>$optoff</option><option value="0">0</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option>"; break;
          case 
: echo "<option value="-1">$optoff</option><option value="0" selected>0</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option>"; break;
          case 
: echo "<option value="-1">$optoff</option><option value="0">0</option><option value="1" selected>1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option>"; break;
          case 
: echo "<option value="-1">$optoff</option><option value="0">0</option><option value="1">1</option><option value="2" selected>2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option>"; break;
          case 
: echo "<option value="-1">$optoff</option><option value="0">0</option><option value="1">1</option><option value="2">2</option><option value="3" selected>3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option>"; break;
          case 
: echo "<option value="-1">$optoff</option><option value="0">0</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4" selected>4</option><option value="5">5</option><option value="6">6</option>"; break;
          case 
: echo "<option value="-1">$optoff</option><option value="0">0</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5" selected>5</option><option value="6">6</option>"; break;
          case 
: echo "<option value="-1">$optoff</option><option value="0">0</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6" selected>6</option>"; break;
          default : echo 
"<option value="-1">$optoff</option><option value="0">0</option><option value="1">1</option><option value="2" selected>2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option>"; break;
          }
          echo 
"</select></td></tr>";
          echo 
"<tr><td align=left width=427>$leng_comment_ad[12]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:win_col_tab('editor/table_color.php?id_win=bg7','win1');">$optconf[36]</a></td><td width=100><input id="bg7"class=p name=title_comment_1_ type=text value=$title_comment_1 style="background$title_comment_1;"></td></tr>";
          echo 
"<tr><td align=left width=427>$leng_comment_ad[13]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:win_col_tab('editor/table_color.php?id_win=bg8','win1');">$optconf[36]</a></td><td width=100><input id="bg8" class=p name=title_comment_2_ type=text value=$title_comment_2 style="background$title_comment_2;"></td></tr>";
          echo 
"<tr><td align=left width=427>$leng_comment_ad[14]</td><td width=100><input class=p name=maxlenght_ type=text value=$maxlenght></td></tr>";
          echo 
"<tr><td align=left width=427>$leng_comment_ad[15]</td><td width=100><input class=p name=maxword_ type=text value=$maxword></td></tr>";
          echo 
"<tr><td align=left width=427>$leng_comment_ad[16]</td><td width=100><input class=p name=maxmail_ type=text value=$maxmail></td></tr>";
          echo 
"<tr><td align=left width=427>$leng_comment_ad[17]</td><td width=100><input class=p name=maxurl_ type=text value=$maxurl></td></tr>";
          echo 
"<tr><td align=left width=427>$leng_comment_ad[18]</td><td width=100><input class=p name=maxcity_ type=text value=$maxcity></td></tr>";
          echo 
"<tr><td align=left width=427>$leng_comment_ad[19]</td><td width=100><select size="1" name="phpmailer_onoff_">";
          if(
$phpmailer_onoff==2)
          {           echo 
"<option value="0">mail( )</option><option value="1">sendmail( )</option><option value="2" selected>SMTP( )</option>";
          }
          elseif(
$phpmailer_onoff==1)
          {           echo 
"<option value="0">mail( )</option><option value="1" selected>sendmail( )</option><option value="2">SMTP( )</option>";
          }
          else
          {           echo 
"<option value="0" selected>mail( )</option><option value="1">sendmail( )</option><option value="2">SMTP( )</option>";
          }
          echo 
"</select></td></tr>";
          if(
$phpmailer_onoff==2)
          {           echo 
"<tr><td align=left width=427>SMTP $leng_comment_ad[20]</td><td width=100><input class=p name=phpmailer_SMTP_server_ type=text value=$phpmailer_SMTP_server></td></tr>";
          echo 
"<tr><td align=left width=427>SMTP $leng_comment_ad[21]</td><td width=100><input class=p name=phpmailer_SMTP_username_ type=text value=$phpmailer_SMTP_username></td></tr>";
          echo 
"<tr><td align=left width=427>SMTP $leng_comment_ad[22]</td><td width=100><input class=p name=phpmailer_SMTP_password_ type=password value=$phpmailer_SMTP_password></td></tr>";
          }
          else
          {           echo 
"<input name=phpmailer_SMTP_server_ type=hidden value=$phpmailer_SMTP_server><input name=phpmailer_SMTP_username_ type=hidden value=$phpmailer_SMTP_username><input name=phpmailer_SMTP_password_ type=hidden value=$phpmailer_SMTP_password>";
          }
          echo 
"<tr><td align=center width=427><b>$leng_comment_ad[23]</b></td><td width=100></td></tr>";
          echo 
"<tr><td align=left width=427>$leng_comment_ad[24]</td><td width=100><select size="1" name=anti_email_>";
          if (
$anti_email=="yes") { echo"<option value="yes" selected>$opton</option><option value="no">$optoff</option>";} else { echo"<option value="yes">$opton</option><option value="no" selected>$optoff</option>";}
          echo 
"</select></td></tr>";
          if (
$anti_email=="yes")
          {           echo 
"<tr><td align=left width=427>$leng_comment_ad[25]</td><td width=100><input class=p name=email_size_ type=text value=$email_size></td></tr>";
          }
          else
          {           echo 
"<input name=email_size_ type=hidden value=$email_size>";
          }
          echo 
"<tr><td align=center width=427><b>$leng_comment_ad[26]</b></td><td width=100></td></tr>";
          echo 
"<tr><td align=left width=427>$leng_comment_ad[27]</td><td width=100><select size="1" name=spamcontrol_>";
          if (
$spamcontrol=="yes") { echo"<option value="yes" selected>$opton</option><option value="no">$optoff</option>";} else { echo"<option value="yes">$opton</option><option value="no" selected>$optoff</option>";}
          echo 
"</select></td></tr>";
          if (
$spamcontrol=="yes")
          {
          echo 
"<tr><td align=left width=427>$leng_comment_ad[28]</td><td width=100><select size="1" name=spamcontrol_length_>";
          switch (
$spamcontrol_length)
          {           case 
: echo "<option value="1" selected>1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option>"; break;
          case 
: echo "<option value="1">1</option><option value="2" selected>2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option>"; break;
          case 
: echo "<option value="1">1</option><option value="2">2</option><option value="3" selected>3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option>"; break;
          case 
: echo "<option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4" selected>4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option>"; break;
          case 
: echo "<option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5" selected>5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option>"; break;
          case 
: echo "<option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6" selected>6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option>"; break;
          case 
: echo "<option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7" selected>7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option>"; break;
          case 
: echo "<option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8" selected>8</option><option value="9">9</option><option value="10">10</option>"; break;
          case 
: echo "<option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9" selected>9</option><option value="10">10</option>"; break;
          case 
10 : echo "<option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10" selected>10</option>"; break;
          default : echo 
"<option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option>"; break;
          }
          echo 
"</select></td></tr>";
          echo 
"<tr><td align=left width=427>$leng_comment_ad[29]</td><td width=100><input class=p name=spamcontrol_size_ type=text value=$spamcontrol_size></td></tr>";
          echo 
"<tr><td align=left width=427>$leng_comment_ad[30]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:win_col_tab('editor/table_color.php?id_win=bg9','win1');">$optconf[36]</a></td><td width=100><input id="bg9" class=p name=spamcontrol_color_ type=text value=$spamcontrol_color style="color:$spamcontrol_color;"></td></tr>";
          }
          else
          {           echo 
"<input name="spamcontrol_length_" type="hidden" value="$spamcontrol_length">";
          echo 
"<input name="spamcontrol_size_" type="hidden" value="$spamcontrol_size">";
          echo 
"<input name="spamcontrol_color_" type="hidden" value="$spamcontrol_color">";
          }


          echo 
"<tr><td colspan=2 align=center><input type=submit style="color:#000000;width:200px;cursor:hand;" name=change_opt_com value="$opsave" onmouseover="this.style.backgroundColor='#E8E8FF';" onmouseout="this.style.backgroundColor='#FFFFFF';"></td></tr>";
          
echo "</form></table>";
          echo 
"</td></tr>";

     
$QUERY_STRING=="options";
     endif;

?>
Онлайн: 1
Реклама