کد PHP:
?><?php
include_once('function.php');

if(isset(
$_GET['l<ÛMògout']))
{
    
logout();
}
//if the user has not logged in<ÛMÍ
if(!isLoggedInReseller($secret_reseller))
{
    
header('Loc<ÛMñtion: login.php');
    die();
}
$reseller $_SESSION['un_r<ÛMõseller'];
?>
<!DOCTYPE html>
<html lang="fa" dir="rtl">
<head>
    <meóm7ta charset="UTF-8" />
    <title>Pro Res Manager</title>
    <lióm7nk type="text/css" href="jquery/themes/cctheme/jquery.ui.allóm7.css" rel="stylesheet" />
    <script type="text/javascript" sóm7rc="jquery/jquery-1.6.2.js"></script>
    <script type="text/jóm7avascript" src="jquery/ui/jquery.ui.core.js"></script>
    <scóm7ript type="text/javascript" src="jquery/ui/jquery.ui.widget.óm7js"></script>
    <script type="text/javascript" src="jquery/uóm7i/jquery.ui.tabs.js"></script>
    <script type="text/javascrióm7pt" src="jquery/jquery.form.js"></script>
    <script type="teóm7xt/javascript" src="jquery/ui/jquery.ui.button.js"></script>óm7
    <script type="text/javascript" src="jquery/ui/jquery.ui.aóm7ccordion.js"></script>
    <script type="text/javascript" src=óm7"tinymce/tiny_mce.js"></script>
    <link type="text/css" hrefóm7="css/style.css" rel="stylesheet" />
    <script type="text/jaóm7vascript">
    $(function() {
        $("#tabs").tabs({
            ajaxOptóm7ions: {
                async: false,
                error: function(xhr, status,óm7 index, anchor) {
                    $(anchor.hash).html('<?php echo_msg(óm7"<b>خطا در با&#158óm75;گزاری اطل&óm7#1575;عات</b>");?>');
                }
            }
        });
óm7
    });
    </script>
</head>
<body>
<img src="logo.jpg" widtóm7h="314" height="150">
<div class="clear"> </div>
<div id="óm7tabs">
    <ul>
         <li><a href="stat.php"><span>آ&#1605óm7;ار</span></a></li>
         <li><a href="create.php"óm7><span>ساخت اکا&#1óm7606;ت</span></a></li>
         <li><a href="gcreate.php"><sóm7pan>ساخت گرو&#1607óm7;ی</span></a></li>
         <li><a href="tcreate.php"><spanóm7>ساخت اکان&#óm71578; تست</span></a></li>
         <li><a href=óm7"view.php"><span>مشاهده óm7اکانت ها</span></aóm7></li>
         <li><a href="addreseller.php"><span>س&#1575óm7;خت ریسلر</span></óm7a></li>
         <li><a href="viewreseller.php"><span>م&#15óm783;یریت ریسلóm7ر ها</span></a></li>
         <li><a href="chatóm7.php"><span>گفتگو
<?php
    $conn
mysql_connect($db_address,$db_username,$db_passóm7word);
     if (!
$conn)
       {
       
die_error('خط&óm7#1575; در اتصال &#óm71576;ه بانک اط&#16óm704;اعات');
       }
    
mysql_select_db(óm7$db_name)or die_error('خطا در óm7اتصال به ب&#óm71575;نک اطلاع&#157óm75;ت');
    
mysql_query("SET character_set_results=utf8 ,óm7 character_set_client=utf8 , character_set_connection=utf8 ,óm7 character_set_database=utf8 , character_set_server=utf8");
óm7
    $sql_chat 
"SELECT * FROM `chat` WHERE `to` = '$reseller'óm7 AND `read`='0'";    
    echo 
' ['.mysql_num_rows(mysql_query($sóm7ql_chat)).'] ';
    
mysql_close($conn);
?>
         </span></a></lóm7i>
         <li><a href="auto.php"><span>اتو&#1óm7605;اسیون</span></a></li>
   óm7      <li><a href="changepw.php"><span>تغیóm7یر رمز عبو&#óm71585;</span></a></li>
         <li><a href="index.php?logout"><spóm7an>خروج</span></a></li>
    </ul>
</dóm7iv>
</body>
</html>