| galleeandfarel |
09-29-2008 12:35 PM |
image show
hi guyz,
PHP Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
.style2 {color: #FFFFCC}
.style3 {color: #FF0000}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="100%" height="144" valign="top"><table width="100%" height="100" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFCC">
<!--DWLayoutTable-->
<tr>
<td width="115" height="25"> </td>
<td width="348"> </td>
<td width="518"> </td>
</tr>
<tr>
<td height="68"><span class="style2"></span></td>
<td valign="top"><h2><span class="style3"></span></h2></td>
<td> </td>
</tr>
<tr>
<td height="51"><span class="style2"></span></td>
<td><span class="style2"></span></td>
<td> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="498" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td height="52" colspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="978" height="47" valign="top" bgcolor="#FFFFCC"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="124" height="47">
<param name="BGCOLOR" value="#FFFFCC" />
<param name="movie" value="button2.swf" />
<param name="quality" value="high" />
<embed src="button2.swf" width="124" height="47" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#FFFFCC" ></embed>
</object>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="124" height="47">
<param name="movie" value="button3.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#FFFFCC" />
<embed src="button3.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="124" height="47" bgcolor="#FFFFCC"></embed>
</object>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="124" height="47">
<param name="movie" value="button4.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#FFFFCC" />
<embed src="button4.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="124" height="47" bgcolor="#FFFFCC"></embed>
</object>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="124" height="47">
<param name="BGCOLOR" value="#FFFFCC" />
<param name="movie" value="button5.swf" />
<param name="quality" value="high" />
<embed src="button5.swf" width="124" height="47" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#FFFFCC" ></embed>
</object>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="124" height="47">
<param name="movie" value="button6.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#FFFFCC" />
<embed src="button6.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="124" height="47" bgcolor="#FFFFCC"></embed>
</object>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="124" height="47">
<param name="movie" value="button7.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#FFFFCC" />
<embed src="button7.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="124" height="47" bgcolor="#FFFFCC"></embed>
</object>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="124" height="47">
<param name="movie" value="button8.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#FFFFCC" />
<embed src="button8.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="124" height="47" bgcolor="#FFFFCC"></embed>
</object></td>
</tr>
<tr>
<td height="5"></td>
</tr>
</table></td>
</tr>
<tr>
<td width="128" rowspan="5" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="124" height="16"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="124" height="47">
<param name="BGCOLOR" value="#FFFFCC" />
<param name="movie" value="button2.swf" />
<param name="quality" value="high" />
<embed src="button2.swf" width="124" height="47" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#FFFFCC" ></embed>
</object></td>
<td width="1"></td>
</tr>
<tr>
<td height="46" colspan="2" valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="124" height="47">
<param name="movie" value="button3.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#FFFFCC" />
<embed src="button3.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="124" height="47" bgcolor="#FFFFCC"></embed>
</object></td>
</tr>
<tr>
<td height="47" valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="124" height="47">
<param name="movie" value="button4.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#FFFFCC" />
<embed src="button4.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="124" height="47" bgcolor="#FFFFCC"></embed>
</object></td>
<td> </td>
</tr>
<tr>
<td height="47" valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="124" height="47">
<param name="BGCOLOR" value="#FFFFCC" />
<param name="movie" value="button5.swf" />
<param name="quality" value="high" />
<embed src="button5.swf" width="124" height="47" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#FFFFCC" ></embed>
</object></td>
<td> </td>
</tr>
<tr>
<td height="47" valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="124" height="47">
<param name="movie" value="button6.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#FFFFCC" />
<embed src="button6.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="124" height="47" bgcolor="#FFFFCC"></embed>
</object></td>
<td> </td>
</tr>
<tr>
<td height="49" valign="top"><!--DWLayoutEmptyCell--> </td>
<td> </td>
</tr>
<tr>
<td height="262"> </td>
<td> </td>
</tr>
</table></td>
<td width="649" rowspan="5" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="649" height="1873" valign="top"><table width="648" height="113" border="1">
<tr>
<td><style type="text/css">
.toprow{
background:#999999;
}
.topsec{
background:#FFFFFF;
}
</style>
<?php
$link = mysql_connect('localhost', 'root', '');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
$dbselect = mysql_select_db('freemovie')or die("Can not select ");
if(!$dbselect){
die('Could not connect: ' . mysql_error());
}
if(isset($_REQUEST["q"])){
$query = "select language from languages where lid='".$_REQUEST["q"]."'";
$result = mysql_query($query);
while($res = mysql_fetch_array($result,MYSQL_ASSOC))
$row = $res["language"];
$query1 = "select * from movies where language Like \"%$row%\" ORDER BY mid DESC";
$result1 = mysql_query($query1);
$x=0;
while($resqry = mysql_fetch_array($result1,MYSQL_ASSOC)){
$temp[$x]["language"] = unserialize($resqry["language"])."<br>";
$temp[$x]["name"] = $resqry["name"]."<br>";
$temp[$x]["description"] = $resqry["description"]."<br>";
$temp[$x]["link1"] = $resqry["link1"]."<br>";
$temp[$x]["link2"] = $resqry["link2"]."<br>";
$temp[$x]["link3"] = $resqry["link3"]."<br>";
$temp[$x]["imagelink"] = $resqry["imagelink"]."<br>";
$x++;
//$dob = $resqry["dob"];
//$id = $resqry["id"];
}
//print count($industry);
for($i=0; $i<count($language); $i++){
print $language = $language[$i]."<br>";
}
}
?>
<table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2" style="padding-bottom:10px;">
Search Results </td>
</tr>
<tr>
<td><?php
for($i=0; $i<count($temp); $i++){
if($i%2 ==0){
$frow = "toprow";
$frow = "topsec";
}
?>
<table align="center" width="60%" class="toprow" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><?php echo "<img src=$temp[$i][$imagelink] border=0>"; ?></td>
</tr>
<tr>
<td>Movie Name : <?php echo $temp[$i]["name"]; ?> </td>
</tr>
<tr>
<td>Cast : <?php echo $temp[$i]["description"]; ?> </td>
</tr>
<tr>
<td>link : <?php echo $temp[$i]["link1"]; ?> </td>
</tr>
<tr>
<td>link : <?php echo $temp[$i]["link2"]; ?> </td>
</tr>
<tr>
<td>link : <?php echo $temp[$i]["link3"]; ?> </td>
</tr>
</table> <?php
echo "<br>";
}
?></td>
</tr>
</table>
*</td>
</tr>
</table></td>
</tr>
</table>
</td>
<td height="453" valign="top"><!--DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="453" valign="top"><!--DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="453" valign="top"><!--DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td width="201" height="453" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="201" height="453"> </td>
</tr>
</table> </td>
</tr>
<tr>
<td height="61"> </td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
this is my code when i search pages it is not showing my images,please help....
|