예제 #1
0
<?php

require_once '../../conf/config.php';
require_once 'AlladinCore.php';
$core = new AlladinCore();
// ログインチェック
$core->checkLogin(array('admin', 'media'));
$smarty =& $core->getSmarty();
// モデル取得
$m =& $core->getModel();
$smarty->display($core->getTmplName());
예제 #2
0
<?php

//////////////////////////////////////////////////////
//  更新履歴
//  要件ID      更新日          更新者    修正概要
//  nm90020     2009/09/17      林        A社向け_レポート改修概要
//
///////////////////////////////////////////////////////
require_once '../../../conf/config.php';
require_once 'AlladinCore.php';
$core = new AlladinCore(false);
// ログインチェック
$core->checkLogin(array('admin', 'client'));
// モデル取得
$m =& $core->getModel();
// smarty取得
$smarty =& $core->getSmarty();
// フォーム初期化
$init = $m->Result_ClientSearchUserIndex_initFormData();
$smarty->assign($init);
// ログインクライアントID
if ($core->getLoginKind() == 'client') {
    $clientId = $core->getLoginId();
}
// 検索条件
$like = array();
if (isset($_POST['search']) == true) {
    $like['anken_id'] = $_POST['anken_id'];
    $like['pv_date_from'] = $_POST['pv_date_from'];
    $like['pv_date_to'] = $_POST['pv_date_to'];
    $like['action_date_from'] = $_POST['action_date_from'];