Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: 2 klausimai. :)

Parašė ramon· 2008 Kov. 22 14:03:27
#9

1.Uzeik infusions/shoutbox_panel/shoutbox_panel.php ir rask sia eilute (88 eilute) :
      echo "<br>\n<span class='shoutbox'>".parsesmileys($data['shout_message'])."</span><br>\n";



Keisk i sita eilute :
//Klausimai:
$a = "Kas?";
$aa = "Kokia paskutine php-fusion versija?";

//Atsakymai :
$b = "As";
$bb = "PHP-Fusion 6-01-13";

if ($a == "$a")  {
$zinute = $a;
$zinute = "<hr><b>Robotas:</b>: ";
$zinute = $b;
} elseif ($aa == "$aa")  {
$zinute = $aa;
$zinute = "<hr><b>Robotas:</b>: ";
$zinute = $bb;
} else {
$zinute = $data['shout_message'];
}
$zinute = parsesmileys($zinute);


      echo "<br>\n<span class='shoutbox'>".$zinute."</span><br>\n";



Issaugok.
2. Uzeik includes/comments_include/php ir rask sia eilute (93 eilute) :
      if (iGUEST) {
         echo "<tr>
<td>".$locale['c103']."</td>
</tr>
<tr>
<td><input type='text' name='comment_name' maxlength='30' class='textbox' style='width:100%;'></td>
</tr>\n";
      }



Ir pakeisk i :
      if (iGUEST || iMEMBER) {



Ir poto pres
?>



Pridek :
}



Issaugok.


PS. Jei klaidu bus tai zinok kad is atmintes viska rasiau.