/css/yxgl.css" /> <style> .title_lm li a { color: #0164C1; float: left; font-size: 14px; text-align: center; } .coin-se{ background:#f0f0f0; border:1px solid #dedede; padding:10px 15px; border-left:none; border-right:none } .coin-se p{line-height: 28px} .coin-pr{ color:#fb540e; font-size: 35px; font-weight: bold;} .coin-div{ line-height: 56px} .coin-bt{ background:url("<?php echo F::themeUrl() . '/images/icons/cash3.jpg'; ?> ") no-repeat; width:75px; height:30px; line-height:30px; color:#fff; font-size:14px; border:none; cursor:pointer} .title_lm2 li a{ color:#666; font-size:13px} .title_lm2 li.current a{ color:#fb540e;} </style><?php $this->breadcrumbs = array('保证金管理', '质量保证金'); $controlerId = Yii::app()->getController()->id; $actionId = $this->getAction()->getId(); $active = "class = 'active'"; ?> <div class="bor_back m-top"> <div class="txxx txxx2"> <ul class="title_lm"> <li <?php
<span><a href="<?php echo Yii::app()->createUrl('/pap/mycoupon/index'); ?> " target="_blank">查看我的优惠券</a></span> </div> </div> <input type="hidden" name="curval" value=''> <input type="hidden" name="promoid" value='<?php echo $promoid; ?> '> <input type="hidden" name="couponval"> <!--抽奖列表层结束--> </div> <script src="<?php echo F::themeUrl() . '/js/jquery.quickflip.source.js'; ?> "></script> <script type="text/javascript"> //加载遮盖层 ajaxLoading(); $('.pbi').show(); $(function() { //翻牌 $('.quickFlip').quickFlip(); //获取高度 var phei = $('.x_cjbj').height(); $('.x_mess').height(phei); //点击翻牌 $('.x_quicky').click(function() { $(this).hide();
public static function sendAccount($params) { $select1 = "OrderSN as No,CreateTime,Payment,BuyerID,RealPrice as Price,BuyerName,1"; $select2 = "ReturnNO as No,CreateTime,PayMethod as Payment,ServiceID as BuyerID,Price,2"; if ($params['type'] == 1) { $seaCon1 = self::getOrderCond($params, $select1); $data1 = Yii::app()->papdb->createCommand($seaCon1)->queryAll(); $count1 = Yii::app()->papdb->createCommand(str_replace($select1, 'sum(RealPrice)', $seaCon1))->queryScalar(); } else { if ($params['type'] == 2) { $seaCon2 = self::getReturnCond($params, $select2); $data2 = Yii::app()->papdb->createCommand($seaCon2)->queryAll(); $count2 = Yii::app()->papdb->createCommand(str_replace($select2, 'sum(Price)', $seaCon2))->queryScalar(); } else { $seaCon1 = self::getOrderCond($params, $select1); $data1 = Yii::app()->papdb->createCommand($seaCon1)->queryAll(); $count1 = Yii::app()->papdb->createCommand(str_replace($select1, 'sum(RealPrice)', $seaCon1))->queryScalar(); $seaCon2 = self::getReturnCond($params, $select2); $data2 = Yii::app()->papdb->createCommand($seaCon2)->queryAll(); $count2 = Yii::app()->papdb->createCommand(str_replace($select2, 'sum(Price)', $seaCon2))->queryScalar(); } } $count1 = $count1 ? $count1 : 0; $count2 = $count2 ? $count2 : 0; $gain = $count1 - $count2; $day = date('t', $params['starttime']); $organ = Organ::model()->findByPk($params['OrganID'], array('select' => 'OrganName,Email'))->attributes; $email = $organ['Email']; $subject = '由你配 - ' . $params['uyear'] . '年' . $params['umonth'] . '月对账单'; $message = "\n <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>\n <html xmlns='http://www.w3.org/1999/xhtml'>\n <head>\n <meta http-equiv='Content-Type' content='text/html; charset=utf-8' />\n <title>由你配 - 打印对账单</title>\n </head>\n <body>\n <link rel='stylesheet' type='text/css' href='" . F::themeUrl() . "/css/jpd/account.css'/>\n <div class='wrapper' style='width:700px; background:#fff; margin:0 auto'>\n <div class='head' style='height:55px; line-height:55px; border-bottom:1px solid #0566c2; background:url(\"http://192.168.2.29:8000/themes/default/images/jpd/logo_account.jpg\") #1f76c8 no-repeat'>\n <div class='title' style='margin:0 auto; text-align:center'>\n <span style='font-family:微软雅黑; font-size:24px; font-weight: bold; color:#fff; word-spacing:8px; letter-spacing: 1.5px;'>" . $params['uyear'] . "年" . $params['umonth'] . "月对账单</span>\n </div>\n </div>\n <div class='info' style='padding:0 20px; font-size:12px; color:#343434'>\n <p style='margin:0px; line-height:28px'>亲爱的" . $organ['OrganName'] . ",您好!</p>\n <p style='margin:0px; line-height:28px'>感谢您使用由你配平台,以下是您" . $params['umonth'] . "月的平台交易明细:</p>\n </div>\n <div class='summary' style=' height:60px; line-height:30px; border-bottom:2px solid #c9c7c7; border-top:2px solid #c9c7c7; background:#f2f2f2; padding:0 30px'>\n <div class='float_l all' style='font-size:14px; font-weight:bold; color:#565656; line-height:60px;float:left'>\n 本月净收益: <span class='blue' style='color:#1f76c8'>" . $gain . "</span> 元\n\n </div>\n <div class='float_r detial' style='font-size:12px; font-weight:bold; line-height:30px;float:right'>\n <p style='margin:0px; line-height:28px'>本月总收入: <span class='blue f14' style='color:#1f76c8;font-size:14px'>" . $count1 . "</span>元\n <span class='m_left50' style='margin-left:50px'>本月总支出: \n <span class='blue f14' style='color:#1f76c8;font-size:14px'>" . $count2 . "</span>元</span></p>\n <p style='margin:0px; line-height:28px'>账单周期:" . $params['uyear'] . "年" . $params['umonth'] . "月01日—" . $params['uyear'] . "年" . $params['umonth'] . "月" . $day . "日</p>\n </div>\n </div>"; if (!empty($data1)) { $message .= "<p class='line30' style='line-height:35px; margin:0px; margin-left:7px'><b class='f14 blue' style='color:#1f76c8;font-size:14px'>订单明细:</b></p>\n <table class='table' cellpadding='0' cellspacing='0' style='width:685px; text-align:center; border:1px solid #c9c7c7; border-top:none; margin:0 auto; border-right:none; border-bottom:none'>\n <thead>\n <tr style='background:#5783ad; line-height:35px; color:#fff; font-weight:bold; font-size:14px; letter-spacing:1px'>\n <td>时间</td><td>交易类型</td><td>修理厂名称</td><td>订单编号</td><td class='last'>收入(元)</td></tr>\n </thead>\n <tbody>"; foreach ($data1 as $k => $v) { $payment = $v['Payment'] == 1 ? '支付宝担保' : '物流代收款'; $class = $k % 2 != 0 ? ';background:#eef6fd' : ''; $message .= "<tr style='line-height:30px" . $class . "'><td style='border-bottom:1px solid #c9c7c7; border-right:1px solid #c9c7c7; font-size:12px; color:#343434'>" . date('Y-m-d', $v['CreateTime']) . "</td>\n <td style='border-bottom:1px solid #c9c7c7; border-right:1px solid #c9c7c7; font-size:12px; color:#343434'>" . $payment . "</td>\n <td style='border-bottom:1px solid #c9c7c7; border-right:1px solid #c9c7c7; font-size:12px; color:#343434'>" . $v['BuyerName'] . "</td>\n <td style='border-bottom:1px solid #c9c7c7; border-right:1px solid #c9c7c7; font-size:12px; color:#343434'>" . $v['No'] . "</td>\n <td style='border-bottom:1px solid #c9c7c7; border-right:1px solid #c9c7c7; font-size:12px; color:#343434'>¥" . $v['Price'] . "</td>\n </tr>"; } $message .= "</tbody></table>"; } if (!empty($data2)) { $message .= "<p class='line30' style='line-height:35px; margin:0px; margin-left:7px'><b class='f14 blue' style='color:#1f76c8;font-size:14px'>退货明细:</b></p>\n <table class='table' cellpadding='0' cellspacing='0' style='width:685px; text-align:center; border:1px solid #c9c7c7; border-top:none; margin:0 auto; border-right:none; border-bottom:none'>\n <thead>\n <tr style='background:#5783ad; line-height:35px; color:#fff; font-weight:bold; font-size:14px; letter-spacing:1px'>\n <td>时间</td><td>退款方式</td><td>修理厂名称</td><td>退货单号</td><td class='last'>支出(元)</td></tr>\n </thead>\n <tbody>"; foreach ($data2 as $k => $v) { $payment = $v['Payment'] == 0 ? '支付宝担保' : '物流代收款'; $v['BuyerName'] = Organ::model()->findByPk($v['BuyerID'], array('select' => 'OrganName'))->attributes['OrganName']; $class = $k % 2 != 0 ? ';background:#eef6fd' : ''; $message .= "<tr style='line-height:30px" . $class . "'><td style='border-bottom:1px solid #c9c7c7; border-right:1px solid #c9c7c7; font-size:12px; color:#343434'>" . date('Y-m-d', $v['CreateTime']) . "</td>\n <td style='border-bottom:1px solid #c9c7c7; border-right:1px solid #c9c7c7; font-size:12px; color:#343434'>" . $payment . "</td>\n <td style='border-bottom:1px solid #c9c7c7; border-right:1px solid #c9c7c7; font-size:12px; color:#343434'>" . $v['BuyerName'] . "</td>\n <td style='border-bottom:1px solid #c9c7c7; border-right:1px solid #c9c7c7; font-size:12px; color:#343434'>" . $v['No'] . "</td>\n <td style='border-bottom:1px solid #c9c7c7; border-right:1px solid #c9c7c7; font-size:12px; color:#343434'>¥" . $v['Price'] . "</td>\n </tr>"; } $message .= "</tbody></table>"; } $message .= "</div></body></html>"; return UserModule::sendMail($email, $subject, $message); }
<div><img src="/images/promotion/return11.jpg"></div> <div><img src="/images/promotion/return12.jpg"></div> <div><img src="/images/promotion/return13.jpg"></div>--> </div> <div class="install tab-bd-con" style="display:none"> <div><img src="<?php echo F::themeUrl() . '/images/promotion/c5.jpg'; ?> "></div> <div><img src="<?php echo F::themeUrl() . '/images/promotion/c6.jpg'; ?> "></div> <div><img src="<?php echo F::themeUrl() . '/images/promotion/c7.jpg'; ?> "></div> <div class="info" style="margin-left:-4px"> <h1>特别提醒:</h1> <p>我们平台暂时只支持一个支付宝账户,所有退款都会直接打到这个账户,所以请确保此账户的真实性和有效性!</p> <p style="margin-top:20px">如果您还没有支付宝账号,请 <button class="button button2" onclick=window.open("https://cshall.alipay.com/lab/help_detail.htm?help_id=211703#1") ></button></p> </div> </div>
public function actionCreateAccount() { $params = self::accountCond(); $select1 = "OrderSN as No,CreateTime,Payment,BuyerID,RealPrice as Price,BuyerName"; $select2 = "ReturnNO as No,CreateTime,PayMethod as Payment,ServiceID as BuyerID,Price"; if ($params['type'] == 1) { $seaCon1 = "select {$select1} from pap_order t where t.Status=9"; $seaCon1 .= " and SellerID = {$params['OrganID']} and IsDelete = 0"; $seaCon1 .= " and t.CreateTime>={$params['starttime']} and t.CreateTime<{$params['endtime']}"; $seaCon1 .= " order by CreateTime DESC"; $data1 = Yii::app()->papdb->createCommand($seaCon1)->queryAll(); $count1 = Yii::app()->papdb->createCommand(str_replace($select1, 'sum(RealPrice)', $seaCon1))->queryScalar(); } else { if ($params['type'] == 2) { $seaCon2 = "select {$select2} from pap_return_order t where t.Status in(4,14)"; $seaCon2 .= " and DealerID = {$params['OrganID']}"; $seaCon2 .= " and t.CreateTime>={$params['starttime']} and t.CreateTime<{$params['endtime']}"; $seaCon2 .= " order by CreateTime DESC"; $data2 = Yii::app()->papdb->createCommand($seaCon2)->queryAll(); $count2 = Yii::app()->papdb->createCommand(str_replace($select2, 'sum(Price)', $seaCon2))->queryScalar(); } else { $seaCon1 = "select {$select1} from pap_order t where t.Status=9"; $seaCon1 .= " and SellerID = {$params['OrganID']} and IsDelete = 0"; $seaCon1 .= " and t.CreateTime>={$params['starttime']} and t.CreateTime<{$params['endtime']}"; $seaCon1 .= " order by CreateTime DESC"; $data1 = Yii::app()->papdb->createCommand($seaCon1)->queryAll(); $count1 = Yii::app()->papdb->createCommand(str_replace($select1, 'sum(RealPrice)', $seaCon1))->queryScalar(); $seaCon2 = "select {$select2} from pap_return_order t where t.Status in(4,14)"; $seaCon2 .= " and DealerID = {$params['OrganID']}"; $seaCon2 .= " and t.CreateTime>={$params['starttime']} and t.CreateTime<{$params['endtime']}"; $seaCon2 .= " order by CreateTime DESC"; $data2 = Yii::app()->papdb->createCommand($seaCon2)->queryAll(); $count2 = Yii::app()->papdb->createCommand(str_replace($select2, 'sum(Price)', $seaCon2))->queryScalar(); } } $count1 = $count1 ? $count1 : 0; $count2 = $count2 ? $count2 : 0; $gain = $count1 - $count2; $day = date('t', $params['starttime']); $organ = Organ::model()->findByPk($params['OrganID'], array('select' => 'OrganName'))->attributes; $html = '<div style="height:24px; line-height:24px; background-color:#1f76c8"> <div style="margin:0 auto; text-align:center"> <span style="font-family:微软雅黑; font-size:24px; color:#fff; word-spacing:8px; letter-spacing: 1.5px;">' . $params['uyear'] . '年' . $params['umonth'] . '月对账单</span> </div> </div> <div style="font-size:16px; color:#343434; line-height:16px"> <p style="margin:0px; ">亲爱的' . $organ['OrganName'] . ',您好!</p> <p style="margin:0px; ">感谢您使用由你配平台,以下是您' . $params['umonth'] . '月的平台交易明细:</p> </div> <div style="height:20px; line-height:18px; border-bottom:2px solid #c9c7c7; border-top:2px solid #c9c7c7; background-color:#f2f2f2; padding:0 30px"> <div style="font-size:16px; font-weight:bold; color:#565656; line-height:18px;float:left"> 本月净收益: <span style="color:#1f76c8">' . $gain . '</span> 元 </div> <div style="font-size:16px; line-height:18px;float:right"> <p style="margin:0px; line-height:15px"> 本月总收入: <span style="color:#1f76c8;font-size:14px">' . $count1 . '</span>元 本月总支出: <span style="color:#1f76c8;font-size:14px">' . $count2 . '</span>元</p> <p style="margin:0px; line-height:15px"> 账单周期:' . $params['uyear'] . '年' . $params['umonth'] . '月01日—' . $params['uyear'] . '年' . $params['umonth'] . '月' . $day . '日 </p> </div> </div>'; Yii::import('application.extensions.tcpdf.*'); // create new PDF document $pdf = new MYPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false); // 设置文档信息 $pdf->SetCreator('--'); $pdf->SetAuthor('北京嘉配科技有限公司'); $pdf->SetTitle('由你配 - 对账单'); $pdf->SetSubject('TCPDF Tutorial'); $pdf->SetKeywords('TCPDF, PDF, PHP'); // 设置页眉和页脚信恿 $pdf->SetHeaderData('', 30, '', '', array(0, 64, 255), array(0, 64, 128)); $pdf->setFooterData(array(0, 64, 0), array(0, 64, 128)); // 设置页眉和页脚字使 $pdf->setHeaderFont(array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN)); $pdf->setFooterFont(array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA)); // 设置默认等宽字体 $pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED); // 设置间距 $pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT); $pdf->SetHeaderMargin(PDF_MARGIN_HEADER); $pdf->SetFooterMargin(PDF_MARGIN_FOOTER); // 设置分页 $pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM); // set image scale factor $pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); // 设置字体 $pdf->SetFont('stsongstdlight', '', 14, true); // 添加页面 $pdf->AddPage(); // Image example with resizing $pdf->Image(F::themeUrl() . '/images/jpd/logo_account.jpg', 20, 28, 30, 18, 'JPG', '', '', true, 150, '', false, false, 0, false, false, false); // 设置字体阴影 //$pdf->setTextShadow(array('enabled'=>true, 'depth_w'=>0.2, 'depth_h'=>0.2, 'color'=>array(196,196,196), 'opacity'=>1, 'blend_mode'=>'Normal')); // 输出HTML内容 $pdf->writeHTML($html, true, false, true, false, ''); if (!empty($data1)) { $html = '<p style="color:#1f76c8">订单明细:</p>'; $pdf->writeHTML($html, true, false, true, false, ''); // 表格标题 $header = array('时间', '交易类型', '修理厂名称', '订单编号', '收入(元)'); // data loading $data = array(); foreach ($data1 as $key => $val) { $data[$key][0] = date('Y-m-d', $val['CreateTime']); $data[$key][1] = $val['Payment'] == 2 ? '物流代收款' : '支付宝担保'; if (!$val['BuyerName']) { $val['BuyerName'] = Organ::model()->findByPk($val['BuyerID'], array('select' => 'OrganName'))->attributes['OrganName']; } $data[$key][2] = $val['BuyerName']; $data[$key][3] = $val['No']; $data[$key][4] = $val['Price']; } // 输出表格 $pdf->ColoredTable($header, $data); //换行 $pdf->Ln(); } if (!empty($data2)) { $html = '<p style="color:#1f76c8;">退货明细:</p>'; $pdf->writeHTMLCell(0, 0, '', '', $html, 0, 1, 0, true, '', true); // 表格标题 $header = array('时间', '退款方式', '修理厂名称', '退货单号', '支出(元)'); // 导入数据 $data = array(); foreach ($data2 as $key => $val) { $data[$key][0] = date('Y-m-d', $val['CreateTime']); $data[$key][1] = $val['Payment'] == 1 ? '物流代收款' : '支付宝担保'; $data[$key][2] = Organ::model()->findByPk($val['BuyerID'], array('select' => 'OrganName'))->attributes['OrganName']; $data[$key][3] = $val['No']; $data[$key][4] = $val['Price']; } // 输出表格 $pdf->ColoredTable($header, $data); } $pdf->Output('Account.pdf', 'I'); }
</style> <?php if (Yii::app()->user->Identity == "dealer") { $url = Yii::app()->createUrl("common/dealmemberlist"); } else { $url = Yii::app()->createUrl("common/memberlist"); } $this->breadcrumbs = array('用户中心' => $url, '子账户管理'); ?> <script type="text/javascript" src='<?php echo F::themeUrl(); ?> /js/zzhgl.js'></script> <link rel="stylesheet" href="<?php echo F::themeUrl(); ?> /css/zzhgl.css" /> <div class="bor_back m-top"> <p class="txxx" style="border-bottom:none">子账户管理<span class="float_r" style="margin-right:10px ;*margin-top:-35px"> <a id="tjbm" href="javascript:void(0);"> <span class="xjd2" style="display:inline-block ;font-weight:400; font-size:12px; ">添加部门</span> </a> <a id="tjyg" href="javascript:void(0);"> <span class="xjd2" style="display:inline-block ;font-weight:400; font-size:12px; ">添加员工</span> </a> </span></p> </div> <div class="hyzx_content2 m_top10"> <div class="hyzx_content2a float_l"> <div class="hyzx_lm"><span class="float_l" style="margin-left:20px; font-size:12px; font-weight:bold">部门</span><a id="del" href=""><div class="float_r xzyc">删除</div></a>
public static function getGoodsEval($params) { // $page = $params['page'] ? $params['page'] : 1; $pageSize = $params['pageSize'] ? $params['pageSize'] : 3; $content = $params['Content']; $Status = $params['Status']; $starttime = $params['starttime']; $endtime = $params['endtime']; $OrganID = $params['OrganID'] ? $params['OrganID'] : Yii::app()->user->getOrganID(); $seaCon = "select t.*,g.GoodsNo as GoodsNum,g.Name as GoodsName,g.Price as ProPrice,g.ID as GoodsID from pap_evaluation_goods t"; $seaCon .= " join pap_goods g on t.GoodsID= g.ID"; if ($params['type'] == 'buyer') { $seaCon .= " where BuyerID = {$OrganID}"; } else { $seaCon .= " where g.OrganID = {$OrganID}"; } //状态 if ($Status && in_array($Status, array(1, 2, 3))) { $seaCon .= " and t.Status = {$Status}"; } //已回复 if ($content && $content == 'reply') { $seaCon .= " and t.SellerToEvalRemark != ''"; } else { if ($content == 'not_empty') { $seaCon .= " and t.BuyerToEvalRemark != '' and t.BuyerToEvalRemark != '0'"; } } //下单时间 if ($starttime && $endtime) { $seaCon .= " and t.CreateTime > {$starttime} and t.CreateTime < {$endtime}+3600*24"; } else { if ($starttime) { $seaCon .= " and t.CreateTime > {$starttime}"; } else { if ($endtime) { $seaCon .= " and t.CreateTime < {$endtime}+3600*24"; } } } if (!empty($params['search_text'])) { $goods = self::checkKey(urldecode($params['search_text'])); $seaCon .= " and (g.GoodsNo like '%{$goods}%' or g.Name like '%{$goods}%')"; } $seaCon .= " order by t.CreateTime DESC"; $count = Yii::app()->papdb->createCommand(str_replace('t.*', 'count(*)', $seaCon))->queryScalar(); $data = new CSqlDataProvider($seaCon, array('totalItemCount' => $count, 'db' => Yii::app()->papdb, 'pagination' => array('pageSize' => $pageSize))); $datas = $data->getData(); foreach ($datas as $k => $v) { $status = "<p class='sub_one'>"; $content = "<p class='sub_two goods_eval1'>"; switch ($v['Status']) { case '2': $status .= "中评"; break; case '3': $status .= "差评"; break; default: $status .= "好评"; break; } $datas[$k]['Status'] = $status . "</p>"; if ($v['BuyerToEvalRemark']) { $content .= "<span>{$v['BuyerToEvalRemark']}</span></p><p class='goods_eval1'>"; } $sql = "SELECT ImageUrl FROM {{evaluation_goods_image}} WHERE `EvalID`={$v['ID']} limit 3"; $imgurl = Yii::app()->papdb->createCommand($sql)->queryAll(); if (!empty($imgurl)) { foreach ($imgurl as $key1 => $value1) { $img = F::uploadUrl() . $value1['ImageUrl']; $content .= "<a href='{$img}' target='_blank'><img src='{$img}' width='100px' height='100px' /></a>"; } } $content .= "</p><p class='goods_eval1 goods_time'>[" . date('Y-m-d H:i:s', $v['CreateTime']) . "]</p>"; if ($v['SellerToEvalRemark']) { $content .= "<p class='goods_eval2'><span style='color:red'>卖家回复:</span><span>{$v['SellerToEvalRemark']}</span></p>"; $content .= "<p class='goods_eval1 goods_time'>[" . date('Y-m-d H:i:s', $v['UpdateTime']) . "]</p>"; $opreate = ""; } else { $opreate = "<p class='sub_fiv' onclick='reply(" . $v['ID'] . ")'><a><img src='" . F::themeUrl() . '/images/papmall/eval7.png' . "' /></a></p>"; } $datas[$k]['content'] = $content; if ($params['type'] == 'buyer') { $datas[$k]['goodsinfo'] = "<p class='goods_eval3'>" . "<a title='{$v['GoodsName']}'>{$v['GoodsName']}</a>" . "</p>"; } else { $datas[$k]['goodsinfo'] = "<p class='goods_eval3'>" . "<a style='cursor:pointer' title='{$v['GoodsName']}' target='_blank'" . "href='" . Yii::app()->createUrl('pap/dealergoods/goodsinfo', array('goods' => $v['GoodsID'], 'status' => 1)) . "'>{$v['GoodsName']}</a>" . "</p>"; } $datas[$k]['goodsinfo'] .= "<p class='goods_eval3'>编号:<span><a title='{$v['GoodsNum']}'>{$v['GoodsNum']}</a></span></p>"; $datas[$k]['goodsinfo'] .= "<p class='goods_eval3'><span style='color:#f47202;'>{$v['ProPrice']}</span>元</p>"; $datas[$k]['reply'] = $opreate; } $data->setData($datas); return array('data' => $data, 'count' => $count); }
"></a></div> <div class="help float_r"> <span><a href="<?php echo Yii::app()->createUrl('helpcenter/home/index'); ?> " target='_blank'>帮助中心</a></span><span style="border:none"><a href="http://wpa.qq.com/msgrd?v=3&uin=3083702943&site=qq&menu=yes;" target='_blank'>在线客服</a></span> </div> </div> </div> <div class="contents"> <div class="banner hyxy-banner"> <div class="banner_info"> <img src="<?php echo F::themeUrl() . '/images/member/hyxy.jpg'; ?> "> </div> </div> <div class="content_info m-top10"> <div class="float_l nav"> <ul> <li class="current"><a>经销商服务协议</a></li> <!-- <li class="last"><a href="#xlc">服务店服务协议</a></li>--> </ul> </div> <div class="float_r ">
<style> a.s,a.a{ background: url("<?php echo F::themeUrl() . '/images/num-control.png'; ?> "); display: inline-block; float: left; height: 22px; margin-left: 4px; width: 22px; } a.a{ background-position:center right; } .float-l{float:left} .tabs li{ height: 30px; line-height: 17px; } .slide1 { display: inline; } .slide2,.huodong { display: none; } </style> <div class="bor_back m-top" <?php if ($schinfo && empty($goodsdata)) { ?> style="padding:10px"<?php }
<meta name="language" content="en"/> <title><?php echo CHtml::encode($this->pageTitle); ?> </title> <?php Yii::app()->getClientScript()->registerCssFile(F::themeUrl() . '/css/bootstrap.css'); ?> <?php Yii::app()->getClientScript()->registerCssFile(F::themeUrl() . '/css/bootstrap-responsive.css'); ?> <?php Yii::app()->getClientScript()->registerCssFile(F::themeUrl() . '/css/yiistrap.css'); ?> <?php Yii::app()->getClientScript()->registerCssFile(F::themeUrl() . '/css/styles.css'); ?> <?php Yii::app()->getClientScript()->registerCoreScript('jquery'); ?> <link type="text/css" rel="stylesheet" href="<?php echo Yii::app()->theme->baseUrl; ?> /css/common.css"/> <link type="text/css" rel="stylesheet" href="<?php echo Yii::app()->baseUrl; ?> /css/common.css"/> <?php //Yii::app()->bootstrap->register(); ?>
?> javascripts/nav.js" type="text/javascript"></script> <!-- / flatty theme --> <script src="<?php echo F::themeUrl() . '/assets/'; ?> javascripts/tables.js" type="text/javascript"></script> <script src="<?php echo F::themeUrl() . '/assets/'; ?> javascripts/theme.js" type="text/javascript"></script> <!-- / demo --> <script src="<?php echo F::themeUrl() . '/assets/'; ?> javascripts/demo/jquery.mockjax.js" type="text/javascript"></script> <script src="<?php echo F::themeUrl() . '/assets/'; ?> javascripts/demo/inplace_editing.js" type="text/javascript"></script> <script src="<?php echo F::themeUrl() . '/assets/'; ?> javascripts/demo/charts.js" type="text/javascript"></script> <script src="<?php echo F::themeUrl() . '/assets/'; ?> javascripts/demo/demo.js" type="text/javascript"></script> </body> </html>
<link type="text/css" rel="stylesheet" href="<?php echo F::themeUrl() . '/css/chat/message.css'; ?> " /> <link type="text/css" rel="stylesheet" href="<?php echo F::themeUrl() . '/css/chat/allmsg.css'; ?> " /> <link type="text/css" rel="stylesheet" href="<?php echo F::themeUrl() . '/css/chat/messageborder.css'; ?> " /> <link type="text/css" rel="stylesheet" href="<?php echo F::themeUrl() . '/css/chat/datapicker.css'; ?> " /> <style> .he{ float: left; height: 30px; line-height: 30px; overflow: hidden; padding-left: 10px; text-overflow: ellipsis; white-space: nowrap; width: 84px } </style> <div class="allmsg"> <!--左侧栏--> <div class="c_list">
<link href="<?php echo F::themeUrl() . '/css/inquiryorder_detil.css'; ?> " rel="stylesheet" type="text/css"> <style> .tabs li a{ font-size:14px} .selected{ font-weight:normal !important;} </style> <?php $this->pageTitle = Yii::app()->name . '-' . '询报价详情'; $this->breadcrumbs = array('询报价管理' => Yii::app()->createUrl('common/inquerylist'), '询报价详情'); ?> <?php $this->renderPartial('/quotationlist/inquiryinfo', array('inquiryinfo' => $inquiryinfo, 'imsgs' => $imsgs, 'category' => $category, 'res' => $res)); ?> <div class="bor_back m-top" style="height:auto; position:relative;*height:200px"> <p class="txxx">报价单详情<span class="float_r" style="margin-right:20px ;*margin-top:-35px"> <a href="<?php echo Yii::app()->createUrl('/pap/inquiryorder/index'); ?> " class="color_blue" style="font-weight:400">返回</a></span></p> <div class="info-box"> <div> <p class="m-top20" style="margin: 10px 0 0 20px"><b>经销商信息</b></p> <ul class="xlcxx m-top"> <li>经销商名称:<span><?php echo $dealer_info['OrganName']; ?> </span></li> <li>联系电话:<span><?php
<div class="float_l"><span> 或者 点击下载</span><img src="<?php echo F::themeUrl() . '/images/chrome.png'; ?> " width="17" height="17" style="vertical-align:middle; margin:0px 5px"> <a href="http://w.x.baidu.com/alading/anquan_soft_down_b/14744" target="_blank" style="text-decoration:underline;color:#fff">谷歌浏览器</a></div> <div class="float_l ie7guanbi" style="margin-left:69px"><img src="<?php echo F::themeUrl() . '/images/ie7guanbi.png'; ?> " style="margin-top:15px"></div> <div style="clear:both"></div> </div> </div> </div> <script src="<?php echo F::themeUrl() . '/js/jpd/ieal.js'; ?> "></script> <script> var Sys = {}; var ua = navigator.userAgent.toLowerCase(); var s; (s = ua.match(/msie ([\d.]+)/)) ? Sys.ie = s[1] : (s = ua.match(/firefox\/([\d.]+)/)) ? Sys.firefox = s[1] : (s = ua.match(/chrome\/([\d.]+)/)) ? Sys.chrome = s[1] : (s = ua.match(/opera.([\d.]+)/)) ? Sys.opera = s[1] : (s = ua.match(/version\/([\d.]+).*safari/)) ? Sys.safari = s[1] : 0; if (getCookie("Browse") == 'ie') { $('.ie7').hide() } else { $('body').iealert();
width: 22px; } a.a{ background-position:center right; } .txxx { border-bottom: 1px solid #c9d5e3; color: #0065bf; font-size: 14px; font-weight: bold; height: 35px; line-height: 35px; text-indent: 15px; } .btn_addPic { background: url('<?php echo F::themeUrl() . '/images/sc.png'; ?> ') repeat scroll 0 0 rgba(0, 0, 0, 0); cursor: pointer; display: inline-block; height: 80px; overflow: hidden; position: relative; width: 80px; } .filePrew { cursor: pointer; display: block; height: 80px; left: 0; opacity: 0;
<style> .submit_else { background: url("<?php echo F::themeUrl() . '/images/jpd/submit_else.png'; ?> ") no-repeat scroll 0 0 rgba(0, 0, 0, 0); border: medium none; color:blue; font-size: 14px; height: 30px; line-height: 28px; width: 83px; } .xlcxx li { float: left; line-height: 30px; margin-left: 70px; width: 30%; } #goodslist .pager{ display: none } .selected{ font-weight:normal !important; } .descript_lms{ margin-top: 20px } .descript_lms li { float: left; line-height: 30px;
<div class="haed-nav"> <div class="head-nav-info"> <ul> <?php foreach ($bignameArr_l as $k => $val) { ?> <li class="first"> <a href="javascript:;"><?php echo $val; ?> <?php if (in_array($k, array(0, 1))) { ?> <img src="<?php echo F::themeUrl() . '/images/shophome/hot.png'; ?> "> <?php } ?> </a> <div class="second-nav second-nav9"> <div class="second-nav-info"> <div class="float_l hot w420"> <p>热门配件</p> <div class="hot-info"> <?php if (!empty($MainCategory) && is_array($MainCategory)) { foreach ($MainCategory as $key => $cate) { ?>
$this->widget('widgets.papmall.MHelpcenter'); ?> </li> <!--在线客服 组件--> <li class="helpcontact"> <div class="helpcontact"><a href="<?php echo Yii::app()->createUrl('helpcenter/home/index'); ?> " target="_blank">在线客服</a></div> <?php $this->widget('widgets.papmall.MPhoneCall'); ?> </li> </ul> <div class="float_r"> <img src="<?php echo F::themeUrl() . '/images/shophome/tel.png'; ?> " class="tel-img"/></div> <div class="clear"></div> </div> <div class="clear"></div> </div> </div> <?php if (in_array($controller, array('remind', 'servicequestion', 'customer'))) { ?> <div class="xian"></div> <?php } if (Yii::app()->user->isServicer()) { ?>
<li class="container3d relative"> <a role="button" href="#" class="color_dark" id="lang_button"><img class="d_inline_middle m_right_10" src="<?php echo F::themeUrl(); ?> /images/flag_<?php echo Yii::app()->language; ?> .jpg" alt=""><?php echo Yii::app()->language; ?> </a> <ul class="dropdown_list type_2 top_arrow color_light"> <li> <?php echo CHtml::link(CHtml::image(F::themeUrl() . '/images/flag_zh_cn.jpg', '', array('class' => 'd_inline_middle')) . 'Chinese', array('/site/default/index', 'lang' => 'zh_cn'), array('class' => 'tr_delay_hover color_light')); ?> </li> <li> <?php echo CHtml::link(CHtml::image(F::themeUrl() . '/images/flag_en_us.jpg', '', array('class' => 'd_inline_middle')) . 'English', array('/site/default/index', 'lang' => 'en_us'), array('class' => 'tr_delay_hover color_light')); ?> </li> <li> <?php echo CHtml::link(CHtml::image(F::themeUrl() . '/images/flag_de.jpg', '', array('class' => 'd_inline_middle')) . 'German', array('/site/default/index', 'lang' => 'de'), array('class' => 'tr_delay_hover color_light')); ?> </li> </ul> </li> <?php echo CHtml::endForm();
<!-- Carousel ================================================== --> <div id="myCarousel" class="carousel slide"> <!-- Indicators --> <ol class="carousel-indicators"> <li data-target="#myCarousel" data-slide-to="0" class="active"></li> <li data-target="#myCarousel" data-slide-to="1"></li> <li data-target="#myCarousel" data-slide-to="2"></li> </ol> <div class="carousel-inner"> <div class="item active"> <?php echo CHtml::image(F::themeUrl() . '/assets/img/bg-intro.jpg'); ?> <div class="container"> <div class="carousel-caption"> <h1>Example headline.</h1> <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p> <p><a class="btn btn-large btn-primary" href="#">Sign up today</a></p> </div> </div> </div> <!-- <div class="item"> <img data-src="holder.js/1500x500/auto/#777:#7a7a7a/text:Second slide" alt=""> <div class="container"> <div class="carousel-caption"> <h1>Another example headline.</h1> <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p> <p><a class="btn btn-large btn-primary" href="#">Learn more</a></p>