        
CTRL + SHIFT 
-----------------------
 :   [ ]
 : vB3
  :           
  :   (  )
 : Fnan4arab (  vB  )
-----------------------

**********  **********

     
***
CREATE TABLE ehdaa (
  id INT(20) NOT NULL auto_increment,
  name TEXT NOT NULL,
  one TEXT NOT NULL,
  two TEXT NOT NULL,
  three TEXT NOT NULL,
  PRIMARY KEY  (id)
) TYPE=MyISAM;
***

   AdminCP/index.php    
---
        // cache nav prefs
        can_administer();

        construct_nav_spacer();

        // *************************************************
---
   
---

                //  
                construct_nav_option("  ", 'ehdaa.php?do=manage', '<br />');
                construct_nav_group("", '<hr />');
---
   navbar    
---
<!-- / NAVBAR POPUP MENUS -->
</if>
---
   
---
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<thead>
<tr>
	<td class="thead">
		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('fnan_ehdaa')"><img id="collapseimg_fnan_ehdaa" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_fnan_ehdaa].gif" alt="" border="0" /></a></td>
</tr>
</thead>
<tbody id="collapseobj_fnan_ehdaa" style="$vbcollapse[collapseobj_fnan_ehdaa]">
<tr>
	<td class="alt1" align="center" valign="top">
$the_fn_ehdaa
<div align="left" class="smallfont"><a href="#" onclick="window.open('global.php?do=add_ehdaa','add_ehdaa','statusbar=yes,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=450,height=270');"> </a></div>
</td>
</tr>
</tbody>
</table><br />
---

   global.php
   
---
        eval('$footer .= "' . fetch_template('pm_popup_script') . '";');
}
---
   
---
// =====================
// |   |   Fnan4arab
// =====================
$ehdaa_limit="20"; //     
if ($_REQUEST['do'] == "add_ehdaa") {

$msg = "<thead><tr><td colspan=\"2\" class=\"thead\" colspan=\"2\"> </td></tr></thead>
<tbody>
<tr>
<td class=\"tcat\" align=\"center\" colspan=\"2\">        </td>
</tr><tr>
<form method=\"POST\" action=\"global.php?do=do_add_ehdaa\">
<td class=\"alt2\" align=\"center\"> :</td>
<td class=\"alt2\" align=\"center\">$bbuserinfo[username]</td>
</tr><tr>
<td class=\"alt1\" align=\"center\">  :</td>
<td class=\"alt1\" align=\"center\"><input size=\"20\" type=\"text\" name=\"one\" size=\"50\"></td>
</tr><tr>
<td class=\"alt2\" align=\"center\"> :</td>
<td class=\"alt2\" align=\"center\"><input size=\"20\" type=\"text\" name=\"two\" size=\"50\"></td>
</tr><tr>
<td class=\"alt1\" align=\"center\"> :</td>
<td class=\"alt1\" align=\"center\"><input size=\"20\" type=\"text\" name=\"three\" size=\"50\"></td>
</tr>

<tr>
<td colspan=\"2\" class=\"tfoot\" align=\"left\"><input type=\"submit\" value=\"\"></form></td>
</tr>
</tbody>";

if (!$bbuserinfo['userid']) {
$msg = "<td class=\"alt2\" align=\"center\">  </td>";
}

eval('print_output("' . fetch_template('ehdaa_msg') . '");');

} elseif ($_REQUEST['do'] == "do_add_ehdaa") {

if (!$_POST['one']) {
$msg = "<td class=\"alt2\" align=\"center\"> ...   </td>";
} elseif (!$_POST['two']) {
$msg = "<td class=\"alt2\" align=\"center\"> ...    </td>";
} elseif (!$_POST['two']) {
$msg = "<td class=\"alt2\" align=\"center\"> ...   </td>";
} elseif (strlen($_POST['three']) > 200) {
$msg = "<td class=\"alt2\" align=\"center\"> ...       200 </td>";
} else {
$_POST['three'] = str_replace("<", "&lt;", $_POST['three']);
$_POST['three'] = str_replace(">", "&gt;", $_POST['three']);
$DB_site->query("INSERT INTO ehdaa(id,name,one,two,three) VALUES ('','$bbuserinfo[username]','$_POST[one]','$_POST[two]','$_POST[three]')");
$msg = "<td class=\"alt2\" align=\"center\">   </td>";
}

eval('print_output("' . fetch_template('ehdaa_msg') . '");');

} else {
$ehdaa_1 = $DB_site->query("SELECT * FROM ehdaa ORDER BY id DESC LIMIT $ehdaa_limit");
while ($ehdaa_row = mysql_fetch_array($ehdaa_1)) {
$ehdaa_bit .= "<fieldset><legend align=\"right\" style=\"background-color: #FFFFFF; border: 1px solid #000000;\">&nbsp;&nbsp;&nbsp;<a href=\"mailto:$ehdaa_row[one]\">$ehdaa_row[name]</a> <font color=red> $ehdaa_row[two]</font>&nbsp;&nbsp;&nbsp;</legend><div align=\"right\">$ehdaa_row[three]</div></fieldset><br />";
}
$the_fn_ehdaa = "<marquee style=\"border: 1px solid #000000\" onmouseover=this.stop() onmouseout=this.start() loop=3 scrollAmount=3 scrollDelay=0 direction=up width=100%><br><br><br><br><br>$ehdaa_bit<hr><br><br><br><br><br>$ehdaa_bit<hr><br><br><br><br></marquee>";


}
// =====================
---






      admincp      admincp  

          .txt            " "  " ".

---------

      
  
  :   & Fnan4arab