? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/public_html/old/membershop/
File Upload :
Current File : /home/admin/public_html/old/membershop/showdetail1.php

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
 <HEAD>
	<title>Happy Korea</title>
	<meta http-equiv=Content-Type content="text/html; charset=utf-8">

	<script type="text/javascript">
	<!--
	function MM_swapImgRestore() { //v3.0
	  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
	}
	function MM_preloadImages() { //v3.0
	  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
		var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
		if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
	}

	function MM_findObj(n, d) { //v4.01
	  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
		d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
	  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
	  if(!x && d.getElementById) x=d.getElementById(n); return x;
	}

	function MM_swapImage() { //v3.0
	  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
	   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
	}
	//-->
	</script>

 </HEAD>

 <BODY>

<?
include ("functions.php");
	 $cookie_read = explode("|", base64_decode($user));
         $userid = $cookie_read[0];

         $result = $db->sql_query("SELECT * FROM ".$prefix."_shop WHERE shopid='$shopid'");
		 $row = $db->sql_fetchrow($result);
		 
		if($row[picture1]<>""){$picbanner1=$row[picture1];}
		else{$picbanner1="images/happykoreabanner.jpg";}
		if($row[picture2]<>""){$picbanner2=$row[picture2];}
		else{$picbanner2="images/happykoreabanner.jpg";}
		if($row[picture3]<>""){$picbanner3=$row[picture3];}
		else{$picbanner3="images/happykoreabanner.jpg";}
		if($row[picture4]<>""){$picbanner4=$row[picture4];}
		else{$picbanner4="images/happykoreabanner.jpg";}
		if($row[picture5]<>""){$picbanner5=$row[picture5];}
		else{$picbanner5="images/happykoreabanner.jpg";}

		echo "
			<font color=\"#666666\">
			<table width=\"95%\" border=\"1\" cellpadding=\"6\" style=\"border-collapse: collapse; border: solid; border-color:#CCCCCC\" align=\"center\">
			  <tr>
				<td colspan=\"3\" bgcolor=\"#f6f6f6\"><strong>$row[shopname]</strong></td>
			  </tr>
			  <tr>
				<td width=\"33%\" rowspan=\"7\">";

				echo "
				<div align=\"center\">
					<img src=\"$picbanner1\" name=\"Imagebig\" width=\"300\" height=\"250\" border=\"0\" id=\"Imagebig\"  /><font color=\"#666666\"><br />
					  </font><br />  
					<img src=\"$picbanner1\" alt=\"\" name=\"pic1\" width=\"50\" height=\"50\" id=\"pic1\" onmouseover=\"MM_swapImage('Imagebig','','$picbanner1',0)\" /> 
					<img src=\"$picbanner2\" alt=\"\" name=\"pic2\" width=\"50\" height=\"50\" id=\"pic2\" onmouseover=\"MM_swapImage('Imagebig','','$picbanner2',0)\" /> 
					<img src=\"$picbanner3\" alt=\"\" name=\"pic3\" width=\"50\" height=\"50\" id=\"pic3\" 
					onmouseover=\"MM_swapImage('Imagebig','','$picbanner3',0)\" /> 
					<img src=\"$picbanner4\" alt=\"\" name=\"pic4\" width=\"50\" height=\"50\" id=\"pic4\" 
					onmouseover=\"MM_swapImage('Imagebig','','$picbanner4',0)\" > 
					<img src=\"$picbanner5\" alt=\"\" name=\"pic5\" width=\"50\" height=\"50\" id=\"pic5\" 
					onmouseover=\"MM_swapImage('Imagebig','','$picbanner5',1)\" /> 
				</div>";

				echo "</td>
				<td width=\"15%\" bgcolor=\"#f6f6f6\" align=\"right\"><strong>Promotion</strong></td>
				<td width=\"52%\">$row[promotion]</td>
			  </tr>
			  <tr>
				<td bgcolor=\"#f6f6f6\" align=\"right\"><strong>Period</strong></td>
				<td>$row[period]</td>
			  </tr>
			  <tr>
				<td bgcolor=\"#f6f6f6\" align=\"right\"><strong>Tel</strong></td>
				<td>$row[shoptel]</td>
			  </tr>
			  <tr>
				<td bgcolor=\"#f6f6f6\" align=\"right\"><strong>Email</strong></td>
				<td>$row[shopemail]</td>
			  </tr>
			  <tr>
				<td bgcolor=\"#f6f6f6\" align=\"right\"><strong>Website</strong></td>
				<td>$row[shopwebsite]</td>
			  </tr>
			  <tr>
				<td bgcolor=\"#f6f6f6\" align=\"right\"><strong>Main Menu</strong></td>
				<td>$row[mainmenu]</td>
			  </tr>
			  <tr>
				<td bgcolor=\"#f6f6f6\" align=\"right\"><strong>Description</strong></td>
				<td>$row[description]</td>
			  </tr>
			</table></font>";


		echo "<br/><br/>";

?>

 </BODY>
</HTML>

T1KUS90T
  root-grov@210.1.60.28:~$