assign("Title", "USMedClub - Your Non-Prescription Drugs Source"); $smarty->display('top.html'); if ($_REQUEST['page']=="") $_REQUEST['page']='affiliate_home'; if ($_SESSION['partner']) { if ($_GET['edit']==1) { $smarty->assign("reg", $_SESSION['user']); if ($_GET['goto']!="") $smarty->assign("goto", $_GET['goto']); $smarty->display('account_edit.html'); } else { $smarty->assign("orders", get_orders()); $smarty->display('account.html'); } } elseif ($_REQUEST['page']!="") { $q = mysql_query("select * from art where name_en like '".strtolower(str_replace("-", "%", str_replace("and", "%", (sv_strip_specials($_REQUEST['page'])))))."'"); if (mysql_num_rows($q)>0) { $r = mysql_fetch_array($q); $r['en'] = stripslashes($r['en']); $smarty->assign("info", $r); $smarty->display('info.html'); } } include_once("../bot.php"); ?>