HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/w.xxlht.com/Wukong/Wukongphp/View/Product/product.htm
<!DOCTYPE html>
<html class=" js csstransforms3d"><head>
        <meta charset="utf-8">
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title>微信产品列表</title>
        <link rel="stylesheet" href="__PUBLIC__/Wukongphp/css/base.css">
        <link rel="stylesheet" href="__PUBLIC__/Wukongphp/css/page.css">
        <script type="text/javascript" src="__PUBLIC__/Wukongphp/js/jquery.min.js"></script>
        <script src="__PUBLIC__/layer/layer.js"></script>
        <!--layui布局css文件-->
        <link rel="stylesheet" href="__PUBLIC__/layer/layui/css/layui.css">
        <script src="__PUBLIC__/layer/layui/layui.js"></script>

    </head>

    <body style="background: #f6f5fa;">

        <!--content S-->
        <div class="super-content RightMain" id="RightMain">

            <!--header-->
            <div class="superCtab">
                <div class="wk_jg"></div>
                <div class="ctab-Main">
                    <div class="ctab-Main-title">
                        <ul class="clearfix">
                            <li ><a href="<?php echo U('Product/index') ?>">产品列表</a></li>
                            <li><a href="<?php echo U('Product/add') ?>">添加产品</a></li>
   
                            <li class="cur"><a href="<?php echo U('Product/product') ?>">产品分析</a></li>
                        </ul>
                    </div>
                    <div class="ctab-Mian-cont">
                   
                   	<div class="Mian-cont-wrap" style="background:none; border:0; padding-top:20px">





                        <div class="Mian-cont-wrap" style='padding:20px'>
 <blockquote class="layui-elem-quote">
                        数据格式为:复制数据/访问数据  复制比例(按照当日访问量降序排名)
                        </blockquote>
                            <div class="defaultTab-T">
                                <table border="0" cellspacing="0" cellpadding="0" class="defaultTable">
                                    <tbody>
                                        <tr>
                                            <th class="product_1" style="width:20% !important">产品名称</th>
                                            <th class="product_2" style="width:20% !important">今日数据</th>
                                            <th class="product_3" style="width:20% !important">昨日数据</th>
                                            <th class="product_4" style="width:20% !important">前日数据</th>
                                            <th class="product_5" style="width:20% !important">所有数据</th>
                                        </tr>
                                    </tbody></table>
                            </div>
                            <table border="0" cellspacing="0" cellpadding="0" class="defaultTable defaultTable2">
                                <tbody>
                                   <?php foreach($product as $k=>$v):?>
                                    <tr> 	
                                        <td class="product_1" style="cursor:pointer;width:20% !important" >
                                        <span class="product_name">
                                        {$v.product_name}
                                        </span>
                                        </td>
                                        <td class="product_2" style="width:20% !important">
                                        <button class="layui-btn layui-bg-red">
                                        <?php
                                        	$orderC=0;
                                            $onlineC=0;
                                        	foreach($orderone as $k1=>$v1)
                                            {
                                            	if($v1['product_id']==$v['id'])
                                                {
                                                	$orderC=$v1['count'];
                                                }
                                            }
                                            foreach($onlineone as $k2=>$v2)
                                            {
                                            	if($v2['product_id']==$v['id'])
                                                {
                                                	$onlineC=$v2['count'];
                                                }
                                            }
                                            echo $orderC.' | '.$onlineC;;
                                         ?>
                                        </button>
                                        <button class="layui-btn  layui-bg-red">
                                        <?php echo round($orderC/$onlineC*100)."%"; ?>
                                        </button>
                                        </td>
                                        <td class="product_3" style="width:20% !important" >
                                         <button class="layui-btn">
                                        <?php
                                        	$orderC=0;
                                            $onlineC=0;
                                        	foreach($orderyes as $k3=>$v3)
                                            {
                                            	if($v3['product_id']==$v['id'])
                                                {
                                                	$orderC=$v3['count'];
                                                }
                                            }
                                            foreach($onlineyes as $k3=>$v3)
                                            {
                                            	if($v3['product_id']==$v['id'])
                                                {
                                                	$onlineC=$v3['count'];
                                                }
                                            }
                                            echo $orderC.' | '.$onlineC;;
                                         ?>
                                        </button>
                                        <button class="layui-btn">
                                        <?php echo round($orderC/$onlineC*100)."%"; ?>
                                        </button>
                                        </td>
                                        
                                        <td class="product_4" style="width:20% !important">
                                         <button class="layui-btn  layui-bg-cyan">
                                        <?php
                                        	$orderC=0;
                                            $onlineC=0;
                                        	foreach($orderbef as $k4=>$v4)
                                            {
                                            	if($v4['product_id']==$v['id'])
                                                {
                                                	$orderC=$v4['count'];
                                                }
                                            }
                                            foreach($onlinebef as $k4=>$v4)
                                            {
                                            	if($v4['product_id']==$v['id'])
                                                {
                                                	$onlineC=$v4['count'];
                                                }
                                            }
                                            echo $orderC.' | '.$onlineC;;
                                         ?>
                                        </button>
                                        <button class="layui-btn  layui-bg-cyan">
                                        <?php echo round($orderC/$onlineC*100)."%"; ?>
                                        </button>
                                        </td>
                                        <td class="product_5" style="width:20% !important; text-align:center">
                                         <button class="layui-btn layui-bg-black">
                                        <?php
                                        	$orderC=0;
                                            $onlineC=0;
                                        	foreach($order as $k5=>$v5)
                                            {
                                            	if($v5['product_id']==$v['id'])
                                                {
                                                	$orderC=$v5['count'];
                                                }
                                            }
                                            foreach($online as $k5=>$v5)
                                            {
                                            	if($v5['product_id']==$v['id'])
                                                {
                                                	$onlineC=$v5['count'];
                                                }
                                            }
                                            echo $orderC.' | '.$onlineC;;
                                         ?>
                                        </button>
                                        <button class="layui-btn layui-bg-black">
                                        <?php echo round($orderC/$onlineC*100)."%"; ?>
                                        </button>
                                        </td>
                                        
                                    </tr>
                                   <?php endforeach; ?>
                                </tbody>
                            </table>
                            <div class="pageSelect">
                                <div class="pageWrap">
                                    <?php echo $show ?>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
            <!--main-->

        </div>
        <!--content E-->

       

    </body></html>