Click here to Skip to main content
15,039,525 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
Hi, here is my webpage: http://uttaranproperties.com/index.php[^]

In my index.php code is here:
HTML
<?
require ("myvar.php");
include("admin/db.php");

$query1="select * from newsroom order by nwsroom_date desc";
$res1=mysql_query($query1);
$myrow=mysql_fetch_object($res1);
$nid=$myrow->newsroom_id;
?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta name="description" content="Uttaran Properties Ltd is leading Real estate company in Dhaka, Bangladesh. We are leading from front in Bangladesh housing sector" />
<meta name="keywords" content="real estate,real estate bangladesh,bangladesh real estate,real estate in bangladesh,Dhaka, Bangladesh,flat,flot,house,housing,housing company,housing company bangladesh,flat for sale,flot for sale" />
<meta name="keyphrases" content="real estate,real estate bangladesh,bangladesh real estate,real estate in bangladesh,Dhaka, Bangladesh" />

<title>Uttaran Properties Ltd - Leading Real estate company in Bangladesh | housing in bangladesh | bangladeshi real estate</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<!--Fireworks 8 Dreamweaver 8 target.  Created Sun Jun 17 00:33:25 GMT+0600 (Central Asia Standard Time) 2007-->
<link href="images/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="swf/swfobject.js"></script>

<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 onload="MM_preloadImages('images/menu_over_3.jpg','images/menu_over_5.jpg','images/menu_over_6.jpg','images/menu_over_7.jpg','images/menu_over_8.jpg','images/menu_over_9.jpg','images/menu_over_10.jpg','images/menu_over_11.jpg','images/menu_over_12.jpg','images/menu_over_13.jpg')">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" valign="top"><table border="0" cellpadding="0" cellspacing="0" width="777">
      <tr>
        <td height="307" bgcolor="#FFFFFF">
		
<!--- Start Header Flash Content --->	
		
<div id="flashcontent" >
You need to upgrade your Flash Player
Content here allows you to leave out <code>noscript</code> 
tags. Include a link to <a href="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" target="_blank">bypass the detection</a> if you wish.
</div>
<script type="text/javascript">
var so = new SWFObject("swf/up_header02.swf", "sotester", "777", "307", "0", "0");
so.addVariable("flashVarText", "this is passed in Flash Activex");
so.write("flashcontent");
</script>		
<!--- End Header Flash Content --->		
		
		</td>
      </tr>
      <tr>
        <td><table width="777" border="0" align="left" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
          <tr>
            <td><img name="index_9" src="images/index_9.jpg" width="9" height="394" border="0" id="index_9" alt="" /></td>
            <td valign="top"><table align="left" border="0" cellpadding="0" cellspacing="0" width="222">
                <tr>
                  <td width="222" height="239" valign="top">

<!--- Start Menu Flash Content --->			
<div id="flashcontent1" >
You need to upgrade your Flash Player
Content here allows you to leave out <code>noscript</code> 
tags. Include a link to <a href="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" target="_blank">bypass the detection</a> if you wish.</div>
<script type="text/javascript">
var so = new SWFObject("swf/up_left_menu.swf", "sotester", "222", "239", "0", "0");
so.addVariable("flashVarText", "this is passed in Flash Activex");
so.write("flashcontent1");
</script>		
<!--- End Menu Flash Content --->				  </td>
                </tr>
                <tr>
                  <td height="5"><div align="center"></div></td>
                </tr>
                <tr>
                  <td align="center"><table border="0" cellpadding="0" cellspacing="0" width="200">
                    <tr>
                      <td><img src="images/spacer.gif" width="5" height="1" border="0" alt="" /></td>
                      <td><img src="images/spacer.gif" width="189" height="1" border="0" alt="" /></td>
                      <td><img src="images/spacer.gif" width="6" height="1" border="0" alt="" /></td>
                      <td><img src="images/spacer.gif" width="1" height="1" border="0" alt="" /></td>
                    </tr>
                    <tr>
                      <td><img name="news_r1_c1" src="images/news_r1_c1.jpg" width="5" height="30" border="0" id="news_r1_c1" alt="" /></td>
                      <td><img name="news_r1_c2" src="images/news_r1_c2.jpg" width="189" height="30" border="0" id="news_r1_c2" alt="" /></td>
                      <td><img name="news_r1_c3" src="images/news_r1_c3.jpg" width="6" height="30" border="0" id="news_r1_c3" alt="" /></td>
                      <td><img src="images/spacer.gif" width="1" height="30" border="0" alt="" /></td>
                    </tr>
                    <tr>
                      <td removed="images/news_r2_c1.jpg"><img name="news_r2_c1" src="images/news_r2_c1.jpg" width="5" height="94" border="0" id="news_r2_c1" alt="" /></td>
                      <td width="189" height="94" align="left" valign="top" bgcolor="#F1F9E2">
					  
					  
					  <!--- News Start ---->
					  
					  <?
$query="select * from newsroom order by nwsroom_date desc limit 0,4";
//echo $query;
$res=mysql_query($query);

while($row=mysql_fetch_object($res)){
$e_dat1=$row->nwsroom_date;
list($year, $month, $day) = preg_split('/[: -]/', $e_dat1);
//list ($year, $month, $day) = split ('[-./]', $e_dat1);
$e_dat=$month."-".$day."-".$year;

$homenews .='<a class=news href=news_detail.php?nid='.$row->newsroom_id.'>'.$row->nwsroom_title.'</a><br>'.$e_dat.'<br><br>';
 }
?>
                                                    <script language="JavaScript1.2" type="text/javascript">

// Scrollers width here (in pixels)
var scrollerwidth="185px"

// Scrollers height here
var scrollerheight="120px"

// Scrollers speed here (larger is faster 1-15)
var scrollerspeed=1

// Scrollers content goes here! Keep all of the message on the same line!

var scrollercontent='<font face="Verdana" size="1">'
					scrollercontent+='<? echo $homenews;?>';
					scrollercontent+='</font>'
var pauseit=1

// Change nothing below!
scrollerspeed=(document.all)? scrollerspeed : Math.max(1, scrollerspeed-1) //slow speed down by 1 for NS
var copyspeed=scrollerspeed
var iedom=document.all||document.getElementById
var actualheight=''
var cross_scroller, ns_scroller
var pausespeed=(pauseit==0)? copyspeed: 0

function populate(){
if (iedom){
cross_scroller=document.getElementById? document.getElementById("iescroller") : document.all.iescroller
cross_scroller.style.top=parseInt(scrollerheight)+8+"px"
cross_scroller.innerHTML=scrollercontent
actualheight=cross_scroller.offsetHeight
}
else if (document.layers){
ns_scroller=document.ns_scroller.document.ns_scroller2
ns_scroller.top=parseInt(scrollerheight)+8
ns_scroller.document.write(scrollercontent)
ns_scroller.document.close()
actualheight=ns_scroller.document.height
}
lefttime=setInterval("scrollscroller()",35)
}
window.onload=populate

function scrollscroller(){

if (iedom){
if (parseInt(cross_scroller.style.top)>(actualheight*(-1)+8))
cross_scroller.style.top=parseInt(cross_scroller.style.top)-copyspeed+"px"
else
cross_scroller.style.top=parseInt(scrollerheight)+8+"px"
}
else if (document.layers){
if (ns_scroller.top>(actualheight*(-1)+8))
ns_scroller.top-=copyspeed
else
ns_scroller.top=parseInt(scrollerheight)+8
}
}

if (iedom||document.layers){
with (document){
if (iedom){
write('<div style="removed:relative;width:'+scrollerwidth+';height:'+scrollerheight+';overflow:hidden" onMouseover="copyspeed=pausespeed"  önMouseout="copyspeed=scrollerspeed">')
write('<div id="iescroller" style="removed:absolute;removed0px;removed0px;width:100%;">')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+scrollerwidth+' height='+scrollerheight+' name="ns_scroller">')
write('<layer name="ns_scroller2" width='+scrollerwidth+' height='+scrollerheight+' left=0 top=0 onMouseover="copyspeed=pausespeed"  önMouseout="copyspeed=scrollerspeed"></layer>')
write('</ilayer>')
}
}
}

                                                </script>
					  
					  <!--- News End ---->					  </td>
                      <td removed="images/news_r2_c3.jpg"><img name="news_r2_c3" src="images/news_r2_c3.jpg" width="6" height="94" border="0" id="news_r2_c3" alt="" /></td>
                      <td><img src="images/spacer.gif" width="1" height="94" border="0" alt="" /></td>
                    </tr>
                    <tr>
                      <td><img name="news_r3_c1" src="images/news_r3_c1.jpg" width="5" height="7" border="0" id="news_r3_c1" alt="" /></td>
                      <td><img name="news_r3_c2" src="images/news_r3_c2.jpg" width="189" height="7" border="0" id="news_r3_c2" alt="" /></td>
                      <td><img name="news_r3_c3" src="images/news_r3_c3.jpg" width="6" height="7" border="0" id="news_r3_c3" alt="" /></td>
                      <td><img src="images/spacer.gif" width="1" height="7" border="0" alt="" /></td>
                    </tr>
                  </table></td>
                </tr>
                <tr>
                  <td height="8"></td>
                </tr>
                <tr>
                  <td align="center"><table width="90%" border="0" cellpadding="1" cellspacing="1" class="tblBorder">
                    <tr>
                      <td colspan="2" bgcolor="#E9E9E9" class="title">Our Partner </td>
                    </tr>
                    <tr>
                      <td align="center"><table width="20%" border="0" cellpadding="1" cellspacing="1" class="tblBorder">
                        <tr>
                          <td><a href="http://www.missiongroupbd.com/" target="_blank"><img src="images/Logo Mission Group.jpg" width="94" height="68" border="0" /></a></td>
                        </tr>
                      </table></td>
                      <td align="center"><table width="20%" border="0" cellpadding="1" cellspacing="1" class="tblBorder">
                        <tr>
                          <td><a href="http://www.ruhamagroup.com" target="_blank"><img src="images/Logo_Ruhama.jpg" width="94" height="68" border="0" /></a></td>
                        </tr>
                      </table></td>
                    </tr>
                    
                    
                  </table></td>
                </tr>
            </table></td>
            <td width="546" align="left" valign="top"><table width="99%" border="0" cellspacing="1" cellpadding="3">
              <tr>
                <td height="5" align="left"><div align="center"></div></td>
              </tr>
              <tr>
                <td><table width="100%" border="0" cellspacing="2" cellpadding="0">
                  <tr>
                    <td colspan="2" align="left"><img src="images/welcome.jpg" width="418" height="73" /></td>
                    </tr>
                  <tr>
                    <td width="47%" rowspan="2"><table width="100%" border="0" cellpadding="1" cellspacing="1" class="tblBorder">
                      <tr>
                        <td><img src="images/photogal/img03.jpg" width="240" height="159" /></td>
                      </tr>
                    </table></td>
                    <td width="53%"><div align="justify">Uttaran Properties is one of the renowned real estate  company in Bangladesh. Uttaran Properties Ltd. has becomes a trusted  name in the real estate sector in Bangladesh. From its very inception  the company has won the confidence and good will of its valued clients.  Uttaran Properties Ltd. is going along with time and offers a  futuristic residential Plot at a very reasonable price. </div></td>
                  </tr>
                  <tr>
                    <td height="20" align="right"><a href="about_uttaron.php"><img src="images/more1.gif" width="48" height="13" border="0" /></a></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td align="center"><img src="images/midLine.jpg" width="523" height="2" /></td>
              </tr>
              <tr>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="220">
					
<!--- Start Projects Flash Content --->			
<div id="flashcontent2" >
You need to upgrade your Flash Player
Content here allows you to leave out <code>noscript</code> 
tags. Include a link to <a href="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" target="_blank">bypass the detection</a> if you wish.
</div>
<script type="text/javascript">
var so = new SWFObject("swf/up_projects1.swf", "sotester", "530", "220", "0", "0");
so.addVariable("flashVarText", "this is passed in Flash Activex");
so.write("flashcontent2");
</script>		
<!--- End Projects Flash Content --->				
					
					</td>
                  </tr>
                </table></td>
              </tr>
              
            </table></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="69" align="center" removed="images/bottomBg.jpg"><table border="0" cellpadding="0" cellspacing="0" width="100%" height="36%" bordercolor="#008000" id="table9">
          <tr>
            <td align="center" valign="bottom" width="210"> Design & Development By</td>
            <td width="10" rowspan="2"> </td>
            <td width="557" align="center" valign="bottom"><a href="index.php" class="link10">Home</a> | <a href="about_uttaron.php" class="link10">About Uttaran</a> | <a href="sitemap.php" class="link10">Sitemap</a> | <a href="news.php" class="link10">News</a> | <a href="contact_us.php" class="link10">Contact Us</a> </td>
          </tr>
          <tr>
            <td width="210"><div align="center"><a href="http://www.harbingersolution.com" target="_blank" class="link10">Harbinger Solution</a></div></td>
            <td align="center"> © Copyright 2007 Uttaran Properties Ltd. All rights reserved.</td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3140122-2");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body>
</html>

This is working good in my home but not in server. Please tell me how solve this problem into server ?
Posted
Updated 30-Jul-13 21:38pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900