• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP printUrl函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中printUrl函数的典型用法代码示例。如果您正苦于以下问题:PHP printUrl函数的具体用法?PHP printUrl怎么用?PHP printUrl使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了printUrl函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: printImage

function printImage($image)
{
    if ($image) {
        echo <<<EOT
                <img src="{$image}"><br>
EOT;
        printUrl($image);
    }
}
开发者ID:the-tool,项目名称:the-tool,代码行数:9,代码来源:index.blade.php


示例2: initUploadMultiImage

/**
 * 批量上传按钮
 * @param array $buttonIds
 * @param string $uploadUrl
 * @param string $managerUrl
 */
function initUploadMultiImage($buttonIds = array(), $uploadUrl = '', $managerUrl = '')
{
    $uploadUrl || ($uploadUrl = printUrl('Upload', 'uploadSave', array('dir' => 'image')));
    $managerUrl || ($managerUrl = printUrl('Upload', 'uploadManager', array('dir' => 'image')));
    $data = array('buttonIds' => $buttonIds, 'uploadUrl' => $uploadUrl, 'managerUrl' => $managerUrl);
    $loader = new CI_Loader();
    $content = $loader->view('common/initUploadMultiImage', $data, true);
    echo $content;
}
开发者ID:zhaojianhui129,项目名称:qirmp2016,代码行数:15,代码来源:initjs_helper.php


示例3: index

 /**
  * 项目类型首页
  */
 function index()
 {
     //面包屑
     $this->viewData['breadcrumb'][] = array('url' => printUrl('AdminProType', 'index'), 'title' => '项目类型管理');
     $this->load->model('proTypeModel');
     $proTypeList = $this->proTypeModel->getNewList(array('proTypeId > ' => 0));
     $this->viewData['proTypeList'] = $proTypeList;
     $this->load->view('AdminProType/index', $this->viewData);
 }
开发者ID:zhaojianhui129,项目名称:implement2016,代码行数:12,代码来源:AdminProType.php


示例4: index

 function index()
 {
     if ($this->user['userRole'] == 1) {
         redirect(printUrl('ReachStore', 'storeList'));
     } else {
         redirect(printUrl('ReachStore', 'adminList'));
     }
     //echo $this->input->server('HTTP_REFERER');
     $this->load->view("Main/index");
 }
开发者ID:zhaojianhui129,项目名称:implement2016,代码行数:10,代码来源:Main.php


示例5: index

 /**
  * 报表管理首页
  */
 function index()
 {
     //查询条件
     //专营店筛选
     $area = $this->input->get('area');
     $this->viewData['area'] = $area;
     $region = $this->input->get('region');
     $this->viewData['region'] = $region;
     $province = $this->input->get('province');
     $this->viewData['province'] = $province;
     $city = $this->input->get('city');
     $this->viewData['city'] = $city;
     $storeId = $this->input->get('storeId');
     $this->viewData['storeId'] = $storeId;
     $keyword = $this->input->get('keyword');
     $this->viewData['keyword'] = $keyword;
     //年份
     $year = $this->input->get('year');
     $year || ($year = $this->config->item('nowYear'));
     $this->viewData['year'] = $year;
     //时间单位
     $timeUnit = (int) $this->input->get('timeUnit');
     $timeUnit || ($timeUnit = $this->timeUnitModel->getNowTimeUnit());
     $this->viewData['timeUnit'] = $timeUnit;
     //数据类型
     $type = (int) $this->input->get('type');
     if (isset($_GET['submit']) && $_GET['submit'] == 'export') {
         isset($this->typeList[$type]) || showError('请选择正确的报表类型');
         //条件参数
         $params = array('area' => $area, 'region' => $region, 'province' => $province, 'city' => $city, 'storeId' => $storeId, 'keyword' => $keyword, 'year' => $year, 'timeUnit' => $timeUnit);
         //导出文件名
         $fileName = $this->typeList[$type] . '-' . $year . '年';
         if ($timeUnit) {
             $timeUnitList = $this->timeUnitModel->getCacheData('timeUnitList');
             isset($timeUnitList[$year][$timeUnit]) && ($fileName .= '-' . $timeUnitList[$year][$timeUnit]);
         }
         //设置excel文件下载头
         setExcelDownHeader($fileName);
         switch ($type) {
             case 1:
                 //专营店反馈报表
                 $this->getStoreProExcel($params);
                 break;
             case 2:
                 //专营店反馈明细报表
                 $this->getStoreProDetailExcel($params);
                 break;
         }
     } else {
         //面包屑
         $this->viewData['breadcrumb'][] = array('url' => printUrl('Report', 'index'), 'title' => '报表管理');
         $this->load->view('Report/index', $this->viewData);
     }
 }
开发者ID:zhaojianhui129,项目名称:implement2016,代码行数:57,代码来源:Report.php


示例6: Admin

 function Admin()
 {
     parent::MY_Controller();
     $this->user['userRole'] == 6 || showError('您无法进入此页面');
     $tab = $this->input->get('tab');
     $this->viewData['tab'] = $tab ? $tab : 'index';
     //设置导航
     $this->navbarList[] = array('Admin', 'index', 'title' => '后台管理');
     //主题
     //$this->theme = 'bootstrap';
     //面包屑
     $this->viewData['breadcrumb'][] = array('url' => printUrl('Admin', 'index'), 'title' => '管理首页');
 }
开发者ID:zhaojianhui129,项目名称:qirmp2016,代码行数:13,代码来源:Admin.php


示例7: Admin

 function Admin()
 {
     parent::MY_Controller();
     if (!$this->auth->isImport()) {
         showError('您无此页面操作权限', '/');
     }
     $tab = $this->input->get('tab');
     $this->viewData['tab'] = $tab ? $tab : 'index';
     //主题
     //$this->theme = 'bootstrap';
     //面包屑
     $this->viewData['breadcrumb'][] = array('url' => printUrl('Admin', 'index'), 'title' => '管理首页');
     //标签菜单
     $this->navbar = array(array('title' => '时段配置', 'url' => printUrl('Admin', 'timeUnitList'), 'focusTag' => 'timeUnitList'));
     $this->viewData['focusTag'] = $this->input->get('m') ? $this->input->get('m') : 'index';
 }
开发者ID:zhaojianhui129,项目名称:implement2016,代码行数:16,代码来源:Admin.php


示例8: printProActItem

/**
 * 打印题目数据
 * @param array $data
 */
function printProActItem($data)
{
    //操作类型(edit:编辑,check:查看,)
    $data['action'] = isset($data['action']) ? $data['action'] : 'edit';
    $loader = new CI_Loader();
    //上传图片配置
    if ($data['type'] == 6) {
        $data['uploadUrl'] = printUrl('Upload', 'uploadSave', array('dir' => 'image'));
        $data['extraParams'] = array('itemId' => $data['itemId'], 'proId' => $data['proId'], 'actId' => $data['actId'], 'type' => $data['type']);
    }
    //上传附件配置
    if ($data['type'] == 7) {
        $data['uploadUrl'] = printUrl('Upload', 'uploadSave', array('dir' => 'settleFile'));
        $data['extraParams'] = array('itemId' => $data['itemId'], 'proId' => $data['proId'], 'actId' => $data['actId'], 'type' => $data['type']);
    }
    $content = $loader->view('ProActItem/actItem' . $data['type'], $data, true);
    echo $content;
}
开发者ID:zhaojianhui129,项目名称:implement2016,代码行数:22,代码来源:initjs_helper.php


示例9: adminDetail

 /**
  * 汇总表明细
  */
 function adminDetail()
 {
     if ($this->user['userRole'] == 1) {
         showError('您无权限进入此页面');
     }
     //查询条件
     $where = array();
     //年
     $this->viewData['year'] = $this->input->get('year');
     $this->viewData['year'] || ($this->viewData['year'] = $this->config->item('nowYear'));
     $where['year'] = $this->viewData['year'];
     //时间单位
     $this->viewData['timeUnit'] = (int) $this->input->get('timeUnit');
     $this->viewData['timeUnit'] || ($this->viewData['timeUnit'] = $this->timeUnitModel->getNowTimeUnit());
     $where['timeUnit'] = $this->viewData['timeUnit'];
     //系统配置
     $this->viewData['yearList'] = $this->timeUnitModel->getCacheData('yearList');
     $timeUnitList = $this->timeUnitModel->getCacheData('timeUnitList');
     $this->viewData['timeUnitList'] = $timeUnitList[$this->viewData['year']];
     //基金类型
     $fundType = (int) $this->input->get('fundType');
     $fundType || ($fundType = 1);
     $this->viewData['fundType'] = $fundType;
     //载入模型
     $this->load->model('sellpointModel');
     //地区
     $area = $this->input->get('area');
     $area = urldecode($area);
     $this->viewData['area'] = $area;
     //大区
     $region = $this->input->get('region');
     $region = urldecode($region);
     $this->viewData['region'] = $region;
     //小区
     $spsarea = $this->input->get('spsarea');
     $spsarea = urldecode($spsarea);
     $this->viewData['spsarea'] = $spsarea;
     //关键字
     $keyword = $this->input->get('keyword');
     $this->viewData['keyword'] = $keyword;
     //查找对应地区列表
     $placeStoreList = $this->sellpointModel->searchStore($area, $region, $spsarea, '', '', 0, $keyword);
     $placeStoreIds = array_keys($placeStoreList);
     //权限内专营店列表
     $viewStoreIds = $this->userLib->getViewStoreIds();
     if ($viewStoreIds == '*') {
         $where['storeId'] = array('in', $placeStoreIds);
     } else {
         $where['storeId'] = array('in', array_intersect($viewStoreIds, $placeStoreIds));
     }
     //查找符合条件的主线流程数据
     if ($fundType == 1) {
         //专营店营销基金
         $this->load->model('commonProcessModel');
         $procList = $this->commonProcessModel->getList($where);
     } elseif ($fundType == 2) {
         //区域营销基金
         $this->load->model('areaProcessModel');
         $procList = $this->areaProcessModel->getList($where);
     } elseif ($fundType == 3) {
         //车展基金
         $this->load->model('carProcessModel');
         $procList = $this->carProcessModel->getList($where);
     } elseif ($fundType == 4) {
         //巡展基金
         $this->load->model('xunProcessModel');
         $procList = $this->xunProcessModel->getList($where);
     } elseif ($fundType == 5) {
         //专项基金
         $this->load->model('specialProcessModel');
         $procList = $this->specialProcessModel->getList($where);
     }
     $this->viewData['procList'] = $procList;
     //所有专营店数据
     $this->viewData['allStoreList'] = $placeStoreList;
     //面包屑
     $this->viewData['breadcrumb'][] = array('url' => printUrl('Main', 'adminTotal', array('year' => $this->viewData['year'], 'timeUnit' => $this->viewData['timeUnit'], 'fundType' => $this->viewData['fundType'])), 'title' => '费用总控表');
     $this->viewData['breadcrumb'][] = array('url' => printUrl('Main', 'adminList', array('year' => $this->viewData['year'], 'timeUnit' => $this->viewData['timeUnit'], 'fundType' => $this->viewData['fundType'])), 'title' => '费用明细');
     //提交类型
     $subType = $this->input->get('subType');
     $subType || ($subType = 'query');
     $this->viewData['subType'] = $subType;
     if ($subType == 'query') {
         $this->load->view('Main/adminDetail', $this->viewData);
     } elseif ($subType == 'export') {
         //基金类型名称
         $fundTypeName = isset($this->fundType[$fundType]) ? $this->fundType[$fundType] : '';
         $fileName = $fundTypeName . '费用明细总控表';
         $area && ($fileName .= $area . '区-');
         $region && ($fileName .= $region . '-');
         $spsarea && ($fileName .= $spsarea . '-');
         $fileName .= $this->viewData['yearList'][$this->viewData['year']];
         $fileName .= '-' . $this->viewData['timeUnitList'][$this->viewData['timeUnit']];
         //设置excel文件下载头
         setExcelDownHeader($fileName);
         if ($fundType == 1) {
             //专营店营销基金
//.........这里部分代码省略.........
开发者ID:zhaojianhui129,项目名称:qirmp2016,代码行数:101,代码来源:Main.php


示例10: getArrayColumnTotal

        <td class="text-center"><?php 
        echo $regionTotal['settleMoney'];
        ?>
</td>
      </tr>
    <?php 
    }
}
?>
    <?php 
//所有汇总
$allTotal = getArrayColumnTotal($procList, array('budgetApply', 'budgetAudit', 'settleApply', 'settleAudit', 'settleMoney'), 1);
?>
      <tr>
        <td class="text-center" colspan="3"><a href="<?php 
echo printUrl('Main', 'adminDetail', array('year' => $year, 'timeUnit' => $timeUnit, 'fundType' => $fundType));
?>
">全国</a></td>
        <td class="text-center"><?php 
echo $allTotal['budgetApply'];
?>
</td>
        <td class="text-center"><?php 
echo count($procList);
?>
</td>
        <td class="text-center"><?php 
echo $allTotal['budgetAudit'];
?>
</td>
        <td class="text-center"><?php 
开发者ID:zhaojianhui129,项目名称:rmp2016,代码行数:31,代码来源:specialSpsareaTable.php


示例11: initUploadButtons

        <td class="text-center"><?php 
echo $netData['settleAuditStr'];
?>
</td>
      </tr>
      <tr>
        <td class="text-center" colspan="8">
          <button type="submit" class="btn btn-default btn-primary" role="button">提交</button>
          <button type="button" class="btn btn-default btn-primary" role="button" onclick="closeWindow()">关闭</button>
        </td>
      </tr>
    </tbody>
  </table>
</form>
<?php 
initUploadButtons($netButtonIds, printUrl('Upload', 'uploadSave', array('dir' => 'image')), 'imgFile');
?>
<script type="text/javascript">
$(function(){
  initValidation();
});
  //初始化验证
function initValidation(){
  $('form[name="settleSubmit"]').find("input,select,textarea").jqBootstrapValidation("destroy");
  $('form[name="settleSubmit"]').find("input,select,textarea").not("[type=submit]").jqBootstrapValidation({
      preventSubmit:false,
      submitSuccess: function (form, event) {
           event.preventDefault();
           ajaxFormSubmit('settleSubmit');
       },
       submitError: function (form, event, errors) {
开发者ID:zhaojianhui129,项目名称:rmp2016,代码行数:31,代码来源:settleSubmit.php


示例12: printUrl

    ?>
   </div>
</div>
<?php 
}
?>
<div class="form-group text-center">
	<button type="button" class="btn btn-primary" onclick="ajaxConfirmSubmit('您确定要此执行反馈项目么?','<?php 
echo printUrl('AdminPro', 'publish');
?>
',{'proId':<?php 
echo $proId;
?>
})">发布反馈</button>
	<button type="button" class="btn btn-primary" onclick="window.location.href='<?php 
echo printUrl('AdminPro', 'index');
?>
'">取消</button>
</div>
<script type="text/javascript">
// 评分选择
$(".selectinput li").on("click",function(){
  var num = $(this).index();//点击当前评分选择的序号
  var num2 = $(this).parents(".selectinput").find("li").length;//评分选择的长度
  $(this).parents(".selectinput").find(".grade").val(num+1);//评分选择的数值传进影藏input(type="hidden")里
  $(this).parents(".selectinput").find("li").removeClass('checked');//去掉全部评分选择class样式
  for(var i = 0; i < num+1;i++){
    $(this).parents(".selectinput").find("li").eq(i).addClass('checked');//给当前评分选择前包括自己给个class样式
  }
});
//单选选择
开发者ID:zhaojianhui129,项目名称:implement2016,代码行数:31,代码来源:publish.php


示例13: printUrl

    ?>
        	<?php 
    if ($this->auth->isXunBudgetEdit($procData)) {
        ?>
        	<a class="btn btn-default btn-sm buttona" role="button" href="<?php 
        echo printUrl('XunBudget', 'storeAdd', array('procId' => $procData['id']));
        ?>
">预算修改</a>
        	<?php 
    }
    ?>
        	<?php 
    if ($this->auth->isXunBudgetCheck($procData)) {
        ?>
        	<a class="btn btn-default btn-sm buttona" role="button" href="<?php 
        echo printUrl('XunBudget', 'check', array('procId' => $procData['id']));
        ?>
">详情查看</a>
        	<?php 
    }
    ?>
        </td>
      </tr>
    <?php 
}
?>
    </tbody>
  </table>
</div>
<script type="text/javascript">
  $(function(){
开发者ID:zhaojianhui129,项目名称:qirmp2016,代码行数:31,代码来源:storeList.php


示例14: detailAdd

 /**
  * 添加细项
  */
 function detailAdd()
 {
     $this->load->model('cityODetailModel');
     if ($_POST) {
         $id = (int) $this->input->post('id');
         $data = array('storeId' => $this->user['userId'], 'procId' => (int) $this->input->post('procId'), 'offlineId' => (int) $this->input->post('offlineId'), 'type' => (int) $this->input->post('type'), 'descType' => (int) $this->input->post('descType'), 'descTypeAlias' => $this->input->post('descTypeAlias'), 'startTime' => $this->input->post('startTime'), 'endTime' => $this->input->post('endTime'), 'remarks' => $this->input->post('remarks'), 'budgetApply' => (double) $this->input->post('budgetApply'));
         $data['procId'] || showError('请选择主线流程');
         $data['offlineId'] || showError('请选择下下活动');
         $data['type'] || showError('明细类别不能为空');
         $data['descType'] || showError('请选择费用项目描述');
         if ($data['descType'] == -1 && !$data['descTypeAlias']) {
             showError('请输入其它项目费用描述');
         }
         $data['startTime'] || showError('请选择活动开始时间');
         $data['endTime'] || showError('请选择活动结束时间');
         $data['budgetApply'] || showError('请填写预算费用');
         if ($id) {
             $id = $this->cityODetailModel->edit($id, $data);
         } else {
             $data['createTime'] = time();
             $id = $this->cityODetailModel->add($data);
         }
         if ($id) {
             showSuccess('保存成功', printUrl('CityOffline', 'add', array('offlineId' => $data['offlineId'])));
         } else {
             showError('保存错误');
         }
     } else {
         $id = (int) $this->input->get('id');
         $procId = (int) $this->input->get('procId');
         $this->viewData['procId'] = $procId;
         $offlineId = (int) $this->input->get('offlineId');
         $this->viewData['offlineId'] = $offlineId;
         if ($id) {
             $detailData = $this->cityODetailModel->getData(array('id' => $id, 'storeId' => $this->user['userId']));
             $detailData || showError('线下活动明细数据不存在');
             $this->viewData['detailData'] = $detailData;
             $this->viewData['procId'] = $detailData['procId'];
             $this->viewData['offlineId'] = $detailData['offlineId'];
         }
         $this->viewData['procId'] || showError('请选择主线流程');
         $this->viewData['offlineId'] || showError('请选择线下活动');
         //项目数据
         $this->load->model('cityProcessModel');
         $procData = $this->cityProcessModel->getData($this->viewData['procId']);
         $procData || showError('主线数据不存在');
         $this->viewData['procData'] = $procData;
         //线下活动数据
         $this->load->model('cityOfflineModel');
         $offlineData = $this->cityOfflineModel->getData($this->viewData['offlineId']);
         $offlineData || showError('线下活动数据不存在');
         $this->viewData['offlineData'] = $offlineData;
         $this->load->view('CityOffline/detailAdd', $this->viewData);
     }
 }
开发者ID:zhaojianhui129,项目名称:rmp2016,代码行数:58,代码来源:CityOffline.php


示例15: check

 /**
  * 预算查看
  */
 function check()
 {
     $procId = (int) $this->input->get('procId');
     $procId || showError('请选择要查看的双月数据');
     //面包屑
     if ($this->user['userRole'] == 1) {
         $this->viewData['breadcrumb'][] = array('url' => printUrl('CommonSettle', 'storeList'), 'title' => '专营店营销基金结算申请列表');
     } else {
         $this->viewData['breadcrumb'][] = array('url' => printUrl('CommonSettle', 'adminList'), 'title' => '专营店营销基金结算管理列表');
     }
     $this->viewData['breadcrumb'][] = array('url' => '', 'title' => '结算查看');
     //主线流程数据
     $this->load->model('commonProcessModel');
     $procData = $this->commonProcessModel->getNewData(array('id' => $procId));
     $this->viewData['procData'] = $procData;
     if (!$this->auth->isCommonSettleCheck($procData)) {
         showError('您无权限查看结算');
     }
     //专营店数据
     $this->load->model('sellpointModel');
     $this->viewData['storeData'] = $this->sellpointModel->getStoreIdData($procData['storeId']);
     //广宣传播列表
     $this->load->model('commonOnlineModel');
     $this->viewData['onlineList'] = $this->commonOnlineModel->getNewList(array('procId' => $procId, 'budgetAudit > ' => 0, 'budgetAuditRs' => 1), NULL, NULL, '', 'id desc');
     //营销活动列表
     $this->load->model('commonOfflineModel');
     $this->viewData['offlineList'] = $this->commonOfflineModel->getNewList(array('procId' => $procId, 'budgetAudit > ' => 0, 'budgetAuditRs' => 1), NULL, NULL, '', 'id desc');
     //审核日志
     $this->load->model('auditLogModel');
     $this->viewData['auditList'] = $this->auditLogModel->getLogs(12, $procId);
     //查看标记
     $this->viewData['action'] = 'check';
     $this->load->view('CommonSettle/check', $this->viewData);
 }
开发者ID:zhaojianhui129,项目名称:qirmp2016,代码行数:37,代码来源:CommonSettle.php


示例16: check

 /**
  * 补报预算查看
  */
 function check()
 {
     $procId = (int) $this->input->get('procId');
     $procId || showError('请选择要查看的双月数据');
     //面包屑
     if ($this->user['userRole'] == 1) {
         $this->viewData['breadcrumb'][] = array('url' => printUrl('SingleBudgetAgain', 'storeList'), 'title' => '单店基金补报预算申请列表');
     } else {
         $this->viewData['breadcrumb'][] = array('url' => $_SERVER['HTTP_REFERER'], 'title' => '单店基金补报预算管理列表');
     }
     $this->viewData['breadcrumb'][] = array('url' => '', 'title' => '补报预算查看');
     //主线流程数据
     $this->load->model('singleProcessModel');
     $procData = $this->singleProcessModel->getNewData($procId);
     $this->viewData['procData'] = $procData;
     if (!$this->auth->isSingleBudgetCheck($procData, true)) {
         showError('您无权限查看');
     }
     //专营店数据
     $this->load->model('sellpointModel');
     $this->viewData['storeData'] = $this->sellpointModel->getStoreIdData($procData['storeId']);
     //项目列表
     $this->load->model('singleProjectModel');
     $this->viewData['projectList'] = $this->singleProjectModel->getNewList(array('procId' => $procId, 'isBubao' => 1), NULL, NULL, '', 'id desc');
     //天网行动
     $this->load->model('singleNetModel');
     $this->viewData['netList'] = $this->singleNetModel->getNewList(array('procId' => $procId, 'isBubao' => 1), NULL, NULL, '', 'id desc');
     //金额明细
     $this->viewData['moneyDetail'] = $this->singleProcessModel->countMoneyDetail($procId);
     //审核日志
     $this->load->model('auditLogModel');
     $this->viewData['auditList'] = $this->auditLogModel->getLogs(13, $procId);
     //查看标记
     $this->viewData['action'] = 'check';
     $this->load->view('SingleBudget/check', $this->viewData);
 }
开发者ID:zhaojianhui129,项目名称:rmp2016,代码行数:39,代码来源:SingleBudgetAgain.php


示例17: printUrl

    echo $v['budgetAuditStr'];
    ?>
</td>
        <?php 
    if (in_array($action, array('edit'))) {
        ?>
        <td class="text-center">
          <?php 
        if (in_array($v['budgetAuditRs'], array(-1, 0, 3))) {
            ?>
          <a class="btn btn-default" onclick="newWindow('修改线下活动','<?php 
            echo printUrl('SpecityPOffline', 'add', array('offlineId' => $v['id'], 'procId' => $v['procId'], 'projectId' => $v['projectId']));
            ?>
',1000,600)">修改</a>
          <a class="btn btn-default" onclick="ajaxConfirmSubmit('您确定要删除此线下活动吗?<br>此操作不可撤销','<?php 
            echo printUrl('SpecityPOffline', 'del');
            ?>
',{'offlineId':<?php 
            echo $v['id'];
            ?>
})">删除</a>
          <?php 
        }
        ?>
        </td>
        <?php 
    }
    ?>
        <?php 
    if (in_array($action, array('audit'))) {
        ?>
开发者ID:zhaojianhui129,项目名称:rmp2016,代码行数:31,代码来源:budgetList.php


示例18: printUrl

        <td><?php 
    echo $v['budgetAuditStr'];
    ?>
</td>
        <td>
        <?php 
    if ($v['settleFileId']) {
        ?>
            <a href="<?php 
        echo 'http://' . $_SERVER['SERVER_NAME'];
        ?>
/<?php 
        echo ENV == 'test' ? 'qirmp2016_demo' : 'qirmp2016';
        ?>
/<?php 
        echo printUrl('Upload', 'download', array('fileId' => $v['settleFileId']));
        ?>
" target="_blank">附件下载</a>
        <?php 
    }
    ?>
        </td>
        <td><?php 
    echo $v['settleApply'];
    ?>
</td>
        <td><?php 
    echo $v['lastSettleAudit'];
    ?>
</td>
        <td><?php 
开发者ID:zhaojianhui129,项目名称:qirmp2016,代码行数:31,代码来源:commonOnlineExcel.php


示例19: check

 /**
  * 预算查看
  */
 function check()
 {
     $procId = (int) $this->input->get('procId');
     $procId || showError('请选择要查看的双月数据');
     //面包屑
     if ($this->user['userRole'] == 1) {
         $this->viewData['breadcrumb'][] = array('url' => printUrl('CarBudget', 'storeList'), 'title' => '品牌活动基金申报');
         $this->viewData['breadcrumb'][] = array('url' => printUrl('CarBudget', 'storeList'), 'title' => '车展基金预算申请列表');
     } else {
         $this->viewData['breadcrumb'][] = array('url' => printUrl('CarBudget', 'adminList'), 'title' => '品牌活动基金管理');
         $this->viewData['breadcrumb'][] = array('url' => printUrl('CarBudget', 'adminList'), 'title' => '车展基金预算管理列表');
     }
     $this->viewData['breadcrumb'][] = array('url' => '', 'title' => '预算查看');
     //主线流程数据
     $this->load->model('carProcessModel');
     $procData = $this->carProcessModel->getNewData($procId);
     $this->viewData['procData'] = $procData;
     if (!$this->auth->isCarBudgetCheck($this->viewData['procData'])) {
         showError('您无权限查看');
     }
     //专营店数据
     $this->load->model('sellpointModel');
     $this->viewData['storeData'] = $this->sellpointModel->getStoreIdData($procData['storeId']);
     //广宣传播列表
     $this->load->model('carProjectModel');
     $this->viewData['projectList'] = $this->carProjectModel->getNewList(array('procId' => $procId), NULL, NULL, '', 'id desc');
     //审核日志
     $this->load->model('auditLogModel');
     $this->viewData['auditList'] = $this->auditLogModel->getLogs(31, $procId);
     //查看标记
     $this->viewData['action'] = 'check';
     $this->load->view('CarBudget/check', $this->viewData);
 }
开发者ID:zhaojianhui129,项目名称:qirmp2016,代码行数:36,代码来源:CarBudget.php


示例20: array_values

      </tr>
    </tbody>
  </table>
</div>
<?php 
$this->load->view('CarProject/settleList', $this->viewData);
?>
<div style="border: 1px solid #fff; width: 95%;margin: 0 auto;" id="detail">
</div>
<script type="text/javascript">
  $(function(){
    <?php 
$projectList = array_values($projectList);
?>
    $("#detail").load('<?php 
echo printUrl('CarProject', 'settleCheck');
?>
', {procId:<?php 
echo $projectList[0]['procId'];
?>
,projectId:<?php 
echo $projectList[0]['id'];
?>
});
  });
</script>
<?php 
if ($isBubao) {
    $this->load->view('CarSettleAgain/storeUploadForm', $this->viewData);
} else {
    $this->load->view('CarSettle/storeUploadForm', $this->viewData);
开发者ID:zhaojianhui129,项目名称:rmp2016,代码行数:31,代码来源:check.php



注:本文中的printUrl函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP printUsage函数代码示例发布时间:2022-05-15
下一篇:
PHP printTree函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap