<?php
$advertizesObj =  new  advertizes();
$advertizesDetails = $advertizesObj->getAllRecords('*',''," ORDER BY RAND() ", " LIMIT 0,1");

?>
<div class="container-right">
  <div class="box1">
        <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','249','height','71','src','frinchies','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','wmode','transparent','movie','<?php echo SITE_URL.'images/'?>frinchies' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="249" height="71">
          <param name="movie" value="<?php echo SITE_URL.'images/frinchies.swf'?>" />
          <param name="quality" value="high" />
          <param name="wmode" value="transparent" />
          <embed src="<?php echo SITE_URL.'images/frinchies.swf'?>" width="249" height="71" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wmode="transparent"></embed>
        </object>
      </noscript></div>
  <div class="box1">
    <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','249','height','71','src','naukri','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','wmode','transparent','movie','<?php echo SITE_URL.'images/'?>naukri' ); //end AC code
    </script>
    <noscript>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="249" height="71">
      <param name="movie" value="<?php echo SITE_URL.'images/naukri.swf'?>" />
      <param name="quality" value="high" />
      <param name="wmode" value="transparent" />
      <embed src="<?php echo SITE_URL.'images/naukri.swf'?>" width="249" height="71" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wmode="transparent"></embed>
    </object>
    </noscript>
  </div>
  <div class="box1 social-media">
      <span class="fl">Social Media </span>
      <span class="fr"><a href="http://www.facebook.com/VivahKingDotCom" target="_blank"><img src="images/facebook.png" alt="Franchies" width="32" height="32" /></a><a href="https://twitter.com/VivahKingDotCom" target="_blank"><img src="images/twitter.png" alt="Franchies" width="32" height="32" /></a><a href="http://in.linkedin.com/pub/vivah-king/54/601/a70" target="_blank"><img src="images/linkedin.png" alt="Franchies" width="32" height="32" /></a></span></div>
  <div class="box1">
 <div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
    
<div class="fb-like-box" data-href="http://www.facebook.com/VivahKingDotCom" data-width="249" data-show-faces="true" data-stream="false" data-header="false"></div>  <!--<img src="<?php echo SITE_URL;?>images/share.jpg" alt="Franchies" width="249" height="298" />-->
  </div>
  <div class="box1">
    <?php if($advertizesDetails && count($advertizesDetails) > 0 ){ 
	foreach ($advertizesDetails as $advertizes){  
	 if(isset($advertizes->advertize_banner) && $advertizes->advertize_banner!='' && file_exists(DIR_UPLOAD_BANNER.$advertizes->advertize_banner)){ ?>
		<img src="<?php echo SITE_URL;?>img/banners/249X199/<?php echo $advertizes->advertize_banner;?>/" alt="<?php echo $advertizes->advertize_title?>" title="<?php echo $advertizes->advertize_title?>"/>
	<?php } 
	 } 
  } ?>
  </div>
</div>