<!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=utf-8" />
<title>Mobivation</title>

<style type="text/css">
#marqueever
{
	position: relative;
	left:-5px;
	top: -20px;
	width: 210px; 
	height: 220px;
}
#marqueever div
{
	padding: 2px;
	width: 210px;
	position: relative;
	left: 0;
}
.wop
{
	padding: 0px;
	margin: 0px;
	overflow:
}

</style>

<script type="text/javascript">var _siteRoot='index.php',_root='index.php';</script>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/scripts.js"></script>
<script language="javascript" type="text/javascript" src="js/dom_img_rollover.js"></script>
<link href="style/reset.css" rel="stylesheet" type="text/css" />
<link href="style/home2.css" rel="stylesheet" type="text/css" />
<link href="style/style.css" rel="stylesheet" type="text/css" />
</head>
<?php 
include 'wcp/function/classes.php';
$prodlist=getList("tb_products.product_id,product_name,product_brief_desc,product_logo","tb_products","JOIN tb_top_page ON tb_products.product_id = tb_top_page.product_id");
$getnews=getList("*","tb_news prod","");
?>


<body>
<div id="page">
  <div id="container">
    <?php include "menu.php"; ?>
    <div id="top_content">
      <div id="product">
        <div id="header">
          <div class="wrap">
            <div id="slide-holder">
              	<div id="slide-runner">
	              <?php 
	              	if (count($prodlist) > 0){
						while($row=mysql_fetch_array($prodlist) ){
						   echo "<a href='single_products.php?prodid=" . $row['product_id'] . "'  class='slide'><img width=128 id='prod" . $row['product_id'] . "' src='wcp/logo/" . $row['product_logo'] . "'  alt='' /></a>";
						
						}
					}
	              ?>
                  </div>
                  <!--
                <div id="slide-controls">
                  <div id="slide-client" class="bubble_text_title"><span></span></a></div>
                  <div id="slide-desc" class="bubble_text"></div><br><br>                
                </div>
                <div id="slide-nav" class="prod_nav"></div>
                -->
                <div id="slide-controls">
                <p id="slide-client" class="bubble_text_title "><span></span></p>
                <p id="slide-desc" class="bubble_text"></p>
                <p id="slide-nav" class="prod_nav"></p>
                 
                 </div>
                <div id="news">                	
                <span class="page_header" style="font-weight:bold; padding:5px; position:relative; top:2px;">Quick Update</span><br /><br /><br />
                    <div id='marqueever'>                    
                    <?php 
                    if (count($getnews) > 0)
                    {
                        while($row=mysql_fetch_array($getnews) )
                        {
							//$news = str_replace('</p>','',str_replace('<p>','',$row['news_content']));
							//$news = remove_tag('a', $news);
							$news = strip_tags($row['news_content']);
							$news = substr($news,0,80);
                            ?>                            
                            <span class="wop"><a href="news_detail.php?id=<?php echo $row['news_id'];?>"><?php echo $row['news_title']?></a>&nbsp;<?php echo $news . "..<br><br>";?></span>
							<?php
                        }
                    }
                    ?>
                    </div>
                </div>
            </div>
            
          </div>
        </div>
      </div>      
      <table width="880" border="0" cellpadding="1" cellspacing="4" class="three_columns">
      <tr>
        <td class="solid_bottom_border"><a href="products.php"><img src="images/icon_iphone.png" border="0" onclick="window.location=products.php"/></a></td>
        <td width="40">&nbsp;</td>
        <td class="solid_bottom_border"><a href="customsolutions.php"><img src="images/icon_gear.png" border="0"  onclick="location.href='customsolutions.php'" /></a></td>
        <td width="40">&nbsp;</td>
        <td class="solid_bottom_border"><img src="images/icon_info.png" width="250" height="85" /><br /></td>
      </tr>
      <tr>
        <td align="left" height="3">&nbsp;</td>
        <td align="left">&nbsp;</td>
        <td align="left" height="3">&nbsp;</td>
        <td align="left">&nbsp;</td>
        <td align="left" height="3">&nbsp;</td>
      </tr>
      <tr>
        <td valign="top">Mobivation was started with a few  mobile application products mainly targeted for Symbian devices. These products has now grown into a collection of mobile applications with unique values to deliver. </td>
        <td>&nbsp;</td>
        <td  valign="top">We also provide custom software development for your business. Our solution ranges from mobile applications to back-end engines. Contact us now and let's have a discussion on how we can work together.</td>
        <td>&nbsp;</td>
        <td  valign="top">Mobivation respect your unique and confidential ideas. Therefore, for every project assignment, we will sign the non-disclosure agreement (NDA) before commencing project discussions. </td>
      </tr>
      <tr>
        <td><br />
          <br />
          <a href="products.php"><img src="images/shop.png" border="0" srcover="images/shop_over.png" /></a></td>
        <td>&nbsp;</td>
        <td><br />
          <br />
          <a href="contact.php"><img src="images/icon_callaction.png" border="0" srcover="images/icon_callaction_over.png" /></a></td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </table>
    <table>	
    	<tr>
            <td>
                
            </td>
        </tr>
    </table>
    <div id="nothing" style="clear:both"></div>
    <?php include "footer.php"; ?>  
  </div>  
</div>
<script type="" text="" javascript="">
if(!window.slider) var slider={};
slider.data=[
<?php

$prodlist2=getList("tb_products.product_id,product_name,product_brief_desc,product_logo","tb_products","JOIN tb_top_page ON tb_products.product_id = tb_top_page.product_id ORDER BY tb_top_page.order_id");
$strTemp="";			
if (count($prodlist2) > 0)
{	
		$search[0] = chr(13);		
		$search[1] = chr(10);
	while($row=mysql_fetch_array($prodlist2) ){					
		$strTemp = $strTemp . "{'id':'prod" . $row['product_id'] . "','client':'<a href=\"single_products.php?prodid=" . $row['product_id'] . "\">" . $row['product_name'] . "</a>','desc':'<a href=\"single_products.php?prodid=" . $row['product_id'] . "\" class=\"woot\">" . str_replace($search,'',$row['product_brief_desc']) . "</a>'},";
		//echo str_replace($search,'',$row['product_brief_desc']);
	}
	if (substr($strTemp, -1) == ","){
		$strTemp = substr_replace($strTemp,'',-1,1);
	}
	echo $strTemp;
}?>];
</script>
<script type="text/javascript" src="js/marquee.js" ></script>
<script type="text/javascript">
//create rating instance
//parameter json with configuration values
var vertical = new marquee("marqueever").vertical();
</script>
</body>
</html>
