
نوشته اصلی توسط
abbas_majan
كار نمي ده
فايل رو كه بهش مي ديم تو خروجيش يه سري حروف درهم برهم مي ده
دوست عزیز جواب داد.
الان تست کردم.
------------------------------------------------------------------------------------------
کد PHP:
#
<?php
#
if ( isset( $_GET['ID'] ) && !( $_GET['ID'] == "" ) )
#
{
#
$Post = $Weblog->_obfuscate_FWYTEW9AdWoxGXgk( $_GET['ID'] );
#
$ptitle = $comments1." <b>".$Post['title']."</b>";
#
if ( isset( $_POST['commentss'] ) && $_POST['commentss'] == "yes" )
#
{
#
$Show = _obfuscate_YnB0Az8H( isset( $_POST['comm_show'] ) ? "true" : "", "defined", "0", "1" );
#
$Add = $Weblog->_obfuscate_ems8JyBteHdmXg( $_POST['post_id'], $_POST['author_name'], $_POST['author_email'], $_POST['author_web'], strip_tags( $_POST['comm_content'] ), $Show, $_POST['author_ip'] );
#
if ( $Add )
#
{
#
$INS = "<b>".$comments8."</b>";
#
}
#
else
#
{
#
$INS = "<b>".$comments9."</b>";
#
}
#
}
#
if ( $Post['more'] == "" )
#
{
#
$Comm .= "<div align=right>".$Post['content']."<br>".$Post['more']."</div>";
#
}
#
else
#
{
#
$Comm .= "<div align=right>".$Post['content']."</div>";
#
}
#
$Comm .= "<p><div align=center><table width=100% border ='0' cellpadding='5' cellspacing='0'>";
#
$Comm .= "<tr><td align=center bgcolor='#C0C0C0'><b>.: ".$comments13." :.</b></td></tr>";
#
$Weblog->query( "SELECT * FROM `comments` WHERE `comm_show` = '1' AND `post_id` = '".$_GET['ID']."'" );
#
if ( 0 < $Weblog->_obfuscate_cn8aIhhxcw( "SELECT * FROM `comments` WHERE `comm_show` = '1' AND `post_id` = '".$_GET['ID']."'" ) )
#
{
#
while ( $Comms = $Weblog->_obfuscate_QB0FESxud2VoJw( ) )
#
{
#
$Cont = _obfuscate_Lyp_c3s( $Comms['comm_content'], "[IMG]", "[/IMG]" );
#
$Content = str_replace( $Cont, "<img src=\"".$Cont."\" border=0>", $Comms['comm_content'] );
#
$Content = str_replace( "[IMG]", "", $Content );
#
$Content = str_replace( "[/IMG]", "", $Content );
#
$Comm .= "<tr><td>".$comments12." : <a href='mailto:".$Comms['author_email']."'>".$Comms['author_name']."</a> / <a href='".$Comms['author_web']."' target=_blank>Web</a></td></tr>";
#
$Comm .= "<tr><td>".$Content."</td></tr>";
#
$Comm .= "<tr><td><hr></td></tr>";
#
}
#
}
#
$Comm .= "<tr><td align=center>".$comments15."</td></tr>";
#
$Comm .= "<tr><td height='5'></td></tr>";
#
$Comm .= "<tr><td align='center' bgcolor='#CCCCCC' height='20'><b>.: ".$comments14." :.</b></td></tr>";
#
if ( isset( $INS ) && !( $INS == "" ) )
#
{
#
$Comm .= "<tr><td align='center' colspan='2'>".$INS."</td><tr>";
#
}
#
$Comm .= "<form action='".url( "comments", $_GET['ID'] )."' method='POST'>";
#
$Comm .= "<tr><td height='1'></td><tr>";
#
$Comm .= "<table width=300 border ='0' cellpadding='2' cellspacing='0'>";
#
$Comm .= "<tr><td align='left' width='50'>".$comments2." : </td><td><input type='text' name='author_name' size='38'></td><tr>";
#
$Comm .= "<tr><td align='left'>".$comments3." :</td><td><input type='text' name='author_email' size='38' dir='ltr'></td><tr>";
#
$Comm .= "<tr><td align='left'>".$comments4." :</td><td><input type='text' name='author_web' size='38' dir='ltr' value='http://'></td><tr>";
#
$Comm .= "<tr><td align='left' valign='top'>".$comments5." :</td><td><textarea rows=6 name='comm_content' cols=35 dir=rtl></textarea></td><tr>";
#
$Comm .= "<tr><td></td><td align='right' colspan='2'><input type='checkbox' name='comm_show' value=''> ".$comments6."</td><tr>";
#
$Comm .= "<tr><td></td><td align='center' style=\"padding-top: 10px\"><input name='submit' type=submit value='".$comments7."'></td><tr>";
#
$Comm .= "<input type=hidden name='commentss' value='yes'>";
#
$Comm .= "<input type=hidden name='post_id' value='".$_GET['ID']."'>";
#
$Comm .= "<input type=hidden name='author_ip' value='".$_SERVER['REMOTE_ADDR']."'>";
#
$Comm .= "</form>";
#
$Comm .= "</table>";
#
$pcontent = $Comm;
#
}
#
else
#
{
#
$ptitle = $comments10;
#
$pcontent = "<div align=center>".$comments11."</div>";
#
}
#
?>