ob_start(); session_start(); $uIp = $HTTP_SERVER_VARS["REMOTE_ADDR"]; $uBsr = $HTTP_SERVER_VARS["HTTP_USER_AGENT"]; $crntPage = $HTTP_SERVER_VARS["SCRIPT_NAME"]; if(isset($HTTP_SERVER_VARS['HTTP_REFERRER'])){ $Referrer = $HTTP_SERVER_VARS['HTTP_REFERRER']; }else{ $Referrer = "www.xyz.com"; } $sId = session_id(); /////////////////////////////////////////////////// $host="localhost"; $user="pierllxy_site"; $password="p@kistan$321"; $db="pierllxy_site"; //////////////////////////////////////////////////////// $connect = @mysql_connect($host, $user, $password); mysql_select_db($db); /////////////////////////////////////////////////////////////////////// $sad=mysql_query("select * from tbl_admin where RecID='1'") or die("Invalid SQL ".mysql_error()); $adrow=mysql_fetch_array($sad); //////////////////////////////////////////////////////////////////////// $Company=$adrow['fname']; $CpTitle="Control Panel ( $Company )"; $FSTitle=$adrow['title']; $EmlTo=$adrow['email']; $fkeywords=$adrow['keywords']; $fdescription=$adrow['description']; $img1="img/ms2.jpg"; $img2="img/mmid.jpg"; $myURL="http://xyz.com/xyz/"; $simgs="sdata/"; $defimg="admincp/"; $bimgs=$simgs."banner/"; $bimgs1=$defimg.$simgs."banner/"; $bsecimgs=$simgs."secbanner/"; $bsecimgs1=$defimg.$simgs."secbanner/"; $secimgs=$simgs."secimgs/"; $secimgs1=$defimg.$simgs."secimgs/"; $mainimgs=$simgs."mainimgs/"; $mainimgs1=$defimg.$simgs."mainimgs/"; $subimgs=$simgs."subimgs/"; $subimgs1=$defimg.$simgs."subimgs/"; $itmimgs=$simgs."itmimgs/"; $itmimgs1=$defimg.$simgs."itmimgs/"; ?>
|