?
Path : /home/admin/domains/happytokorea.com/public_html/libs-bak/ |
Current File : /home/admin/domains/happytokorea.com/public_html/libs-bak/agentzone.php |
<div id="center_box"> <!-- Start Main Page --> <? if($_GET['ac']!=''){ echo" <table id=Table_01 width=680 height=294 border=0 cellpadding=0 cellspacing=0> <tr> <td width=680 height=24 background=images/box_item_01.jpg style=padding-left:20px;text-align:left><font color=#FFFFF><b>Agent Zone</td> </tr> <tr> <td height=11> <img src=images/box_item_02.jpg width=680 height=11 alt=></td> </tr> <tr> <td width=680 height=237 background=box_item_03.jpg valign=top style=text-align:left;padding-left:30px;padding-right:20px;> <div id=\"rightpage\" class=\"manage\">"; require_once('member.php'); echo "</div> </td> </tr> <tr> <td> <img src=images/box_item_05.jpg width=680 height=23 alt=></td> </tr> </table>"; }else{ if($wonderful_user_login['Login_Status']==true){ $data=$db->getRow("newsletter","WHERE active='Yes'"); $data2=$db->getRow("article","WHERE topic='commission'"); echo "<div id=\"rightpage\" class=\"manage\">"; echo $data['detail']."<br>"; echo $data2['detail']; echo "</div>"; $mail_id=$data['id']; $agent_id=$wonderful_user_login['ID']; $chk=$db->getRow('chkmail',"WHERE agent_id='$agent_id' AND mail_id='$mail_id'"); if($chk['agent_id']==''){ $db->Query("INSERT INTO chkmail (agent_id,mail_id,chkread) values ('$agent_id','$mail_id','".date('Y-m-d H:i:s',time())."')"); }else{ $db->Query("UPDATE chkmail set chkread='".date('Y-m-d H:i:s',time())."' WHERE agent_id='$agent_id' AND mail_id='$mail_id'"); } }else{ ?> <table id="Table_01" width="680" height="294" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="680" height="24" background="images/box_item_01.jpg" style="padding-left:20px;text-align:left"><font color=#FFFFF><b>Agent Zone</td> </tr> <tr> <td height="11"> <img src="images/box_item_02.jpg" width="680" height="11" alt=""></td> </tr> <tr> <td width="680" height="237" background="box_item_03.jpg" valign="top" style="padding-left:20px;text-align:left"> <font color="#666666"> <? $echo=$db->getDataOneRow('article','agentzone','topic'); echo $echo['detail']; ?></font> </td> </tr> <tr> <td> <img src="images/box_item_05.jpg" width="680" height="23" alt=""></td> </tr> </table> <? } }//end if ?> </div>