<?php if (!defined('THINK_PATH')) exit();?>
<!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>今日商务网企业网站系统</title>
<link href="../Public/css/style.css" rel="stylesheet" type="text/css" />
    <!--[if IE 6]><link rel="stylesheet" href="../Public/css/style.ie6.css" type="text/css" media="screen" /><![endif]-->
    <!--[if IE 7]><link rel="stylesheet" href="../Public/css/style.ie7.css" type="text/css" media="screen" /><![endif]-->
<script language="javascript" src="../Public/js/common.js" /></script>
<script type="text/javascript" src="../Public/js/script.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/Base.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/prototype.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/mootools.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/Ajax/ThinkAjax.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/UbbEditor.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/Form/CheckForm.js"></script>
<script language="JavaScript">
<!--
//指定当前组模块URL地址
var URL = '__URL__';
var APP	 =	 '__APP__';
var PUBLIC = '__PUBLIC__';
ThinkAjax.updateTip = '<IMG SRC="../Public/images/loading2.gif" WIDTH="16" HEIGHT="16" BORDER="0" ALT="loading..." align="absmiddle"> 数据处理中...';
//-->
</script>

</head>

<body>
<div id="art-page-background-glare">
        <div id="art-page-background-glare-image"></div>
    </div>
    
    <div id="art-main">
        <div class="art-sheet">
            <div class="art-sheet-tl"></div>
            <div class="art-sheet-tr"></div>
            <div class="art-sheet-bl"></div>
            <div class="art-sheet-br"></div>
            <div class="art-sheet-tc"></div>
            <div class="art-sheet-bc"></div>
            <div class="art-sheet-cl"></div>
            <div class="art-sheet-cr"></div>
            <div class="art-sheet-cc"></div>
            <div class="art-sheet-body">    
<div class="art-header">
                    <div class="art-header-jpeg"></div>
                    <script type="text/javascript" src="../Public/js/swfobject.js"></script>
                    <div id="art-flash-area">
                    <div id="art-flash-container">
                    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="970" height="242" id="art-flash-object">
                        <param name="movie" value="../Public/images/flash.swf" />
                        <param name="quality" value="high" />
                    	<param name="scale" value="exactfit" />
                    	<param name="wmode" value="transparent" />
                    	<param name="flashvars" value="color1=0xFFFFFF&amp;alpha1=.30&amp;framerate1=24&amp;loop=true" />
                        <param name="swfliveconnect" value="true" />
                        <!--[if !IE]>-->
                        <object type="application/x-shockwave-flash" data="../Public/images/flash.swf" width="970" height="242">
                            <param name="quality" value="high" />
                    	    <param name="scale" value="exactfit" />
                    	    <param name="wmode" value="transparent" />
                    	    <param name="flashvars" value="color1=0xFFFFFF&amp;alpha1=.30&amp;framerate1=24&amp;loop=true" />
                            <param name="swfliveconnect" value="true" />
                        <!--<![endif]-->
                          	<div class="art-flash-alt"><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></div>
                        <!--[if !IE]>-->
                        </object>
                        <!--<![endif]-->
                    </object>
                    </div>
                    </div>
                    <script type="text/javascript">swfobject.switchOffAutoHideShow();swfobject.registerObject("art-flash-object", "9.0.0", "expressInstall.swf");</script>
                    <div class="art-logo">
                        <h1 id="name-text" class="art-logo-name"><a href="#"><IMG SRC="../Public/images/logo.gif" BORDER="0" ALT="logo" align="absmiddle"></a></h1>
                        <div id="slogan-text" class="art-logo-text"></div>
                    </div>
                </div>
                
                <div class="art-nav">
                	<div class="l"></div>
                	<div class="r"></div>
                	<ul class="art-menu">
                		<li><a href="__APP__/">首页 | </a></li>
        <li><a href="__APP__/Aboutus">公司介绍 |  </a></li>
        <li><a href="__APP__/Product">公司产品 | </a></li>
        <li><a href="__APP__/Article">所有文章 | </a></li>
        <li><a href="__APP__/Down">文档下载 | </a></li>
        <li><a href="__APP__/Messages">留言板 | </a></li>
        <li><a href="__APP__/Blog">公司博客</a></li>
                	</ul>
                </div>
            </div>    
          </div>     
        </div>        
<script language="JavaScript">
<!--
var PUBLIC	 =	 '__PUBLIC__';
ThinkAjax.image = [	 '__PUBLIC__/Images/loading2.gif', '__PUBLIC__/Images/ok.gif','__PUBLIC__/Images/update.gif' ]
ThinkAjax.updateTip	=	'登录中～';
function loginHandle(data,status){
if (status==1)
{
$('result').innerHTML	=	'<span style="color:blue"><img SRC="__PUBLIC__/Images/ok.gif" WIDTH="20" HEIGHT="20" BORDER="0" ALT="" align="absmiddle" > 登录成功！3 秒后跳转～</span>';
$('form1').reset();
window.location = '__URL__';
}
}
function keydown(e){
	var e = e || event;
	if (e.keyCode==13)
	{
	ThinkAjax.sendForm('form1','__URL__/checkLogin/',loginHandle,'result');
	}
}
function fleshVerify(type){ 
//重载验证码
var timenow = new Date().getTime();
if (type)
{
$('verifyImg').src= '__URL__/verify/adv/1'+timenow;
}else{
$('verifyImg').src= '__URL__/verify'+timenow;
}

}
//-->
</script>
    <div id="art-main">
        <div class="art-sheet">
            <div class="art-sheet-tl"></div>
            <div class="art-sheet-tr"></div>
            <div class="art-sheet-bl"></div>
            <div class="art-sheet-br"></div>
            <div class="art-sheet-tc"></div>
            <div class="art-sheet-bc"></div>
            <div class="art-sheet-cl"></div>
            <div class="art-sheet-cr"></div>
            <div class="art-sheet-cc"></div>
            <div class="art-sheet-body">
             <div class="art-content-layout">
                    <div class="art-content-layout-row">
                        <div class="art-layout-cell art-sidebar1">
                            <div class="art-vmenublock">
                                <div class="art-vmenublock-tl"></div>
                                <div class="art-vmenublock-tr"></div>
                                <div class="art-vmenublock-bl"></div>
                                <div class="art-vmenublock-br"></div>
                                <div class="art-vmenublock-tc"></div>
                                <div class="art-vmenublock-bc"></div>
                                <div class="art-vmenublock-cl"></div>
                                <div class="art-vmenublock-cr"></div>
                                <div class="art-vmenublock-cc"></div>
                                <div class="art-vmenublock-body">
                                            <div class="art-vmenublockheader">
                                                <div class="l"></div>
                                                <div class="r"></div>
                                                 <div class="t">所有文章分类</div>
                                            </div>
                                            <div class="art-vmenublockcontent">
                                                <div class="art-vmenublockcontent-body">
                                            <!-- block-content -->
<?php if(is_array($category)): $i = 0; $__LIST__ = $category;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><p id="category_<?php echo ($vo["id"]); ?>">
     <?php for($i=0;$i<$vo['count']*2;$i++){
			echo '&nbsp;&nbsp;';
					
			} ?>
<IMG SRC="../Public/images/folder.gif" WIDTH="18" HEIGHT="18" BORDER="0" ALT="" align="absmiddle">
  <A HREF="__APP__/Article/category/id/<?php echo ($vo["id"]); ?>"><span class="l"></span><span class="r"></span><span class="t"><?php echo ($vo["title"]); ?>(<?php echo (getCategoryArticleCount($vo["id"])); ?>)</span></A> 
   </p><?php endforeach; endif; else: echo "" ;endif; ?>   <!-- /block-content -->
                                          <div class="cleared"></div>
                                                </div>
                                            </div>
                            		<div class="cleared"></div>
                                </div>
                            </div>
                            
<div class="art-block">
                                <div class="art-block-body">
                                            <div class="art-blockheader">
                                                <div class="l"></div>
                                                <div class="r"></div>
                                                 <div class="t">用户登录</div>
                                            </div>
                                            <div class="art-blockcontent">
                                                <div class="art-blockcontent-tl"></div>
                                                <div class="art-blockcontent-tr"></div>
                                                <div class="art-blockcontent-bl"></div>
                                                <div class="art-blockcontent-br"></div>
                                                <div class="art-blockcontent-tc"></div>
                                                <div class="art-blockcontent-bc"></div>
                                                <div class="art-blockcontent-cl"></div>
                                                <div class="art-blockcontent-cr"></div>
                                                <div class="art-blockcontent-cc"></div>
                                                <div class="art-blockcontent-body">
                                            <!-- block-content -->
   <?php if(!empty($$Think["session"]["loginUserName"])): ?><div class="nav">
	欢迎你！<?php echo ($_SESSION['loginUserName']); ?>
	<a href="__APP__/public/password/">
	<img src="__PUBLIC__/images/checked_out.png" width="16" height="16" border="0" alt="" align="absmiddle"> 修改密码</a> 
	<a href="__APP__/public/profile/"><img SRC="__PUBLIC__/images/write.gif" WIDTH="17" HEIGHT="16" BORDER="0" ALT="" align="absmiddle"> 修改资料</a> 
	<a href="__APP__/public/logout/" target="_top">
	<img SRC="__PUBLIC__/images/error.gif" WIDTH="20" HEIGHT="20" BORDER="0" ALT="" align="absmiddle"> 退 出</a>
	</div>
	                                                     <?php else: ?> 
	                                                         <form method='post' name="login" id="form1" >
                                                              <p id="form-login-username">
                                                               <label for="modlgn_username">帐 号：</label><br />
                                                               <input type="text" class="medium bLeftRequire" check="Require" warning="请输入帐号" name="account">
                                                              </p>
                                                              <p id="form-login-password">
                                                               <label for="modlgn_passwd">密 码：</label><br />
                                                               <input type="password" class="medium bLeftRequire" check="Require" warning="请输入密码" name="password">
                                                              </p>
                                                              <p id="form-login-remember">
                                                               <label for="modlgn_remember">验证码：</label></br>
                                                               <input type="text" onKeyDown="keydown(event)" size="12" check="Require" warning="请输入验证码" name="verify">
                                                               <img id="verifyImg" SRC="__URL__/verify" onClick="fleshVerify()" BORDER="0" ALT="点击刷新验证码" style="cursor:pointer" align="absmiddle">
                                                              </p>
                                                            	<span class="art-button-wrapper">
                                                            		<span class="l"> </span>
                                                            		<span class="r"> </span>
                                                            		<input type="hidden" name="ajax" value="1">
<INPUT TYPE="reset" class="submit small"  value="重 置" >
<input type="button" value="登 录" onClick="ThinkAjax.sendForm('form1','__URL__/checkLogin/',loginHandle,'result')" class="submit small">

                                                            	</span>
                                                                <ul>
                                                              <li><a href="#">忘记密码</a></li>
                                                               <li><a href="#">用户注册</a></li>
                                                             </ul>
                                                            </form><?php endif; ?>

                                            <!-- /block-content -->
                                            
                                            		<div class="cleared"></div>
                                                </div>
                                            </div>
                            		<div class="cleared"></div>
                                </div>
                            </div>


                            <div class="art-block">
                                <div class="art-block-body">
                                            <div class="art-blockheader">
                                                <div class="l"></div>
                                                <div class="r"></div>
                                                 <div class="t">所有产品分类</div>
                                            </div>
                                            <div class="art-blockcontent">
                                                <div class="art-blockcontent-tl"></div>
                                                <div class="art-blockcontent-tr"></div>
                                                <div class="art-blockcontent-bl"></div>
                                                <div class="art-blockcontent-br"></div>
                                                <div class="art-blockcontent-tc"></div>
                                                <div class="art-blockcontent-bc"></div>
                                                <div class="art-blockcontent-cl"></div>
                                                <div class="art-blockcontent-cr"></div>
                                                <div class="art-blockcontent-cc"></div>
                                                <div class="art-blockcontent-body">
                                            <!-- block-content -->
   <?php if(is_array($procategory)): $i = 0; $__LIST__ = $procategory;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><p id="procategory_<?php echo ($vo["id"]); ?>">
   <?php for($i=0;$i<$vo['count']*1;$i++){
			echo '&nbsp;&nbsp;';
					
			} ?>
	<IMG SRC="../Public/images/folder.gif" WIDTH="18" HEIGHT="18" BORDER="0" ALT="" align="absmiddle">
    <A HREF="__APP__/Product/procategory/id/<?php echo ($vo["id"]); ?>">
  <?php echo ($vo["title"]); ?>(<?php echo (getProcategoryProductCount($vo["id"])); ?>) </A> 
  </p><?php endforeach; endif; else: echo "" ;endif; ?>
                                            <!-- /block-content -->
                                            
                                            		<div class="cleared"></div>
                                                </div>
                                            </div>
                            		<div class="cleared"></div>
                                </div>
                            </div>
                            
                            
                        </div>
                        <div class="art-layout-cell art-content">
                            <div class="art-post">
                                <div class="art-post-body">
                            <div class="art-post-inner art-article">
                                            <div class="art-postmetadataheader">
                                                <h2 class="art-postheader">
                                                    <img src="../Public/images/postheadericon.png" width="32" height="32" alt="postheadericon" />
                                                                                                                                            最新文章
                                                </h2>
                                            </div>
                                           
                                            <div class="art-postcontent">
                                                <!-- article-content -->
                                                 <ul><?php if(is_array($lastArticles)): $i = 0; $__LIST__ = $lastArticles;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><li>
  <A HREF="__APP__/Article/show/id/<?php echo ($vo["id"]); ?>" title="<?php echo ($vo["title"]); ?>"><?php echo (getShortTitle($vo["title"])); ?></A> 
  <sup style="color:silver;font-size:12px"> [
  <span style="color:#3366CC"><?php echo ($vo["readCount"]); ?></span> |
  <span style="color:#FF6600"> <?php echo ($vo["commentCount"]); ?></span>]</sup><?php endforeach; endif; else: echo "" ;endif; ?></ul>
                                 
                                                	<span class="art-button-wrapper">
                                                		<span class="l"> </span>
                                                		<span class="r"> </span>
                                                		<a class="readon art-button" href="__APP__/Article">Read&nbsp;more...</a>
                                                	</span>
                                                  </p>
                                                    
                                                <!-- /article-content -->
                                            </div>
                                            <div class="cleared"></div>
                                       </div>
                                   <div class="cleared"></div>
                                </div>
                            </div>
                            <div class="art-post">
                                <div class="art-post-body">
                            <div class="art-post-inner art-article">
                                            <div class="art-postmetadataheader">
                                                <h2 class="art-postheader">
                                                    <img src="../Public/images/postheadericon.png" width="32" height="32" alt="postheadericon" />
                                                    <a href="__APP__/Product">最新产品</a>
                                                </h2>
                                            </div>
                                            <div class="art-postcontent">
                                                <!-- article-content -->
                                                
                                                                                                    <p> 
<?php if(is_array($lastProducts)): $i = 0; $__LIST__ = $lastProducts;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><A HREF="__APP__/Product/show/id/<?php echo ($vo["id"]); ?>" title="<?php echo ($vo["title"]); ?>">
<IMG SRC="__PUBLIC__/Uploads/s_<?php echo ($vo["attachthumb"]); ?>" ALT="<?php echo (ubb($vo["title"])); ?>" width="110" height="110" align="absmiddle"></A><?php endforeach; endif; else: echo "" ;endif; ?></p>
                                                                                                      
                                                    <blockquote> <h3>&#8220;热门产品</h3></blockquote>
                                                    <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><A HREF="__APP__/product/show/id/<?php echo ($vo["id"]); ?>">
<IMG SRC="__PUBLIC__/Uploads/s_<?php echo ($vo["attachthumb"]); ?>" ALT="<?php echo (ubb($vo["title"])); ?>" width="110" height="110" align="absmiddle"></A><?php endforeach; endif; else: echo "" ;endif; ?>
                                                    
                                                    <p>
                                                		<span class="art-button-wrapper">
                                                			<span class="l"> </span>
                                                			<span class="r"> </span>
                                                			<a class="readon art-button" href="__APP__/Product">Read&nbsp;more...</a>
                                                		</span>
                                                    </p>
                                                 <!-- /article-content -->
                                            </div>
                                            <div class="cleared"></div>
                                       </div>
                                   <div class="cleared"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>        
    </div>
 <!-- 版权信息区域 -->
 <div id="art-main">
        <div class="art-sheet">
            <div class="art-sheet-tl"></div>
            <div class="art-sheet-tr"></div>
            <div class="art-sheet-bl"></div>
            <div class="art-sheet-br"></div>
            <div class="art-sheet-tc"></div>
            <div class="art-sheet-bc"></div>
            <div class="art-sheet-cl"></div>
            <div class="art-sheet-cr"></div>
            <div class="art-sheet-cc"></div>
            <div class="art-sheet-body">
<div class="cleared"></div><div class="art-footer">
                    <div class="art-footer-t"></div>
                    <div class="art-footer-l"></div>
                    <div class="art-footer-b"></div>
                    <div class="art-footer-r"></div>
                    <div class="art-footer-body">
                         <a href="#" class="art-rss-tag-icon" title="RSS"></a>
                        <div class="art-footer-text">
                        <div id="innerLinksFooter">友情链接：
                         <?php if(is_array($lastLinks)): $i = 0; $__LIST__ = $lastLinks;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><A HREF="<?php echo ($vo["url"]); ?>" title="<?php echo ($vo["title"]); ?>"><?php echo (getShortTitle($vo["title"])); ?></A>&nbsp;&nbsp;<?php endforeach; endif; else: echo "" ;endif; ?></br>
</br></div>
<?php if(is_array($lastAboutus)): $i = 0; $__LIST__ = $lastAboutus;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><A HREF="__APP__/Aboutus/show/id/<?php echo ($vo["id"]); ?>" title="<?php echo ($vo["title"]); ?>"><?php echo (getShortTitle($vo["title"])); ?></A>&nbsp;&nbsp;<?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                		<div class="cleared"></div>
                    </div>
                </div>	<div class="cleared"></div>
                <p class="art-page-footer">Powered by <a target="_blank" href="http://www.e-together.net">e-together.net</a> and All Copyright Reserved </p>
             </div>
        </div>        
    </div>
                    
</body>
</html>