コード例 #1
0
ファイル: index.php プロジェクト: sjimkros/myweb
<?php

// 主页
include_once '_approot.php';
include_once APPROOT . '/lib/header.php';
session_check(get_current_url());
$base = new PageBase(TEMPLATE, ' 个人记账系统', PageBase::$LAYOUT_COLUMN3);
$base->setPgeSubTitle('欢迎' . $_SESSION['userDetail']['user_nickname']);
$base->addCss(array('/css/bootstrap-datepicker3.min.css'));
$base->addScript(array('/js/bootstrap-datepicker.min.js', '/js/locales/bootstrap-datepicker.zh-CN.min.js', '/js/pbs/Chart.min.js'));
$navPart = new NavPart();
$base->setNavPart($navPart);
$accountQuickListPart = new AccountQuickListPart();
$base->addPart(PageBase::$BODY_LEF, $accountQuickListPart);
$statisticIntroPart = new StatisticIntroPart();
$base->addPart(PageBase::$BODY_CENTER, $statisticIntroPart);
$calendarPart = new CalendarPart();
$base->addPart(PageBase::$BODY_RIGHT, $calendarPart);
$base->show();
コード例 #2
0
ファイル: statisticBill.php プロジェクト: sjimkros/myweb
<?php

//主页
include_once '_approot.php';
include_once APPROOT . '/lib/header.php';
session_check(get_current_url());
$base = new PageBase(TEMPLATE, ' 个人记账系统', PageBase::$LAYOUT_COLUMN2_NARROWLEFT);
$base->setPgeSubTitle('日常收支表');
$base->setActiveMenuId('menuStatistic');
$base->addCss(array('/css/bootstrap-datepicker3.min.css'));
$base->addScript(array('/js/pbs/dateQuery.js', '/js/bootstrap-datepicker.min.js', '/js/locales/bootstrap-datepicker.zh-CN.min.js', '/js/pbs/Chart.min.js'));
$navPart = new NavPart();
$base->setNavPart($navPart);
$accountQuickListPart = new AccountQuickListPart();
$base->addPart(PageBase::$BODY_LEF, $accountQuickListPart);
$statisticBillPart = new StatisticBillPart();
$base->addPart(PageBase::$BODY_CENTER, $statisticBillPart);
$base->show();
コード例 #3
0
ファイル: account.php プロジェクト: sjimkros/myweb
<?php

//主页
include_once '_approot.php';
include_once APPROOT . '/lib/header.php';
session_check(get_current_url());
$base = new PageBase(TEMPLATE, ' 个人记账系统', PageBase::$LAYOUT_COLUMN2_NARROWLEFT);
$base->setPgeSubTitle('账户管理');
$base->addScript(array('/js/validate.js', '/js/pbs/account.js'));
$navPart = new NavPart();
$base->setNavPart($navPart);
$accountQuickListPart = new AccountQuickListPart();
$base->addPart(PageBase::$BODY_LEF, $accountQuickListPart);
$accountManagePart = new AccountManagePart();
$base->addPart(PageBase::$BODY_CENTER, $accountManagePart);
$base->show();
コード例 #4
0
ファイル: statisticTrend.php プロジェクト: sjimkros/myweb
<?php

//主页
include_once '_approot.php';
include_once APPROOT . '/lib/header.php';
session_check(get_current_url());
$base = new PageBase(TEMPLATE, ' 个人记账系统', PageBase::$LAYOUT_COLUMN2_NARROWLEFT);
$base->setPgeSubTitle('收支趋势统计');
$base->setActiveMenuId('menuStatistic');
$base->addCss(array('/css/bootstrap-datepicker3.min.css'));
$base->addScript(array('/js/pbs/dateQuery.js', '/js/bootstrap-datepicker.min.js', '/js/locales/bootstrap-datepicker.zh-CN.min.js', '/js/pbs/Chart.min.js'));
$navPart = new NavPart();
$base->setNavPart($navPart);
$accountQuickListPart = new AccountQuickListPart();
$base->addPart(PageBase::$BODY_LEF, $accountQuickListPart);
$statisticTrendPart = new StatisticTrendPart();
$base->addPart(PageBase::$BODY_CENTER, $statisticTrendPart);
$base->show();
コード例 #5
0
ファイル: profile.php プロジェクト: sjimkros/myweb
<?php

// 主页
include_once '_approot.php';
include_once APPROOT . '/lib/header.php';
$base = new PageBase(TEMPLATE, '主页', PageBase::$LAYOUT_COLUMN3);
$base->setPgeSubTitle('个人中心');
$base->addScript(array('/js/validate.js'));
$navPart = new NavPart();
$base->setNavPart($navPart);
$profilePart = new ProfilePart();
$base->addPart(PageBase::$BODY_CENTER, $profilePart);
$base->show();
コード例 #6
0
ファイル: billType.php プロジェクト: sjimkros/myweb
<?php

//主页
include_once '_approot.php';
include_once APPROOT . '/lib/header.php';
session_check(get_current_url());
$base = new PageBase(TEMPLATE, ' 个人记账系统', PageBase::$LAYOUT_COLUMN2_NARROWLEFT);
$base->setPgeSubTitle('收支类别管理');
$base->addScript(array('/js/validate.js', '/js/pbs/billType.js'));
$navPart = new NavPart();
$base->setNavPart($navPart);
$accountQuickListPart = new AccountQuickListPart();
$base->addPart(PageBase::$BODY_LEF, $accountQuickListPart);
$billTypeManagePart = new BillTypeManagePart();
$base->addPart(PageBase::$BODY_CENTER, $billTypeManagePart);
$base->show();
コード例 #7
0
ファイル: bill.php プロジェクト: sjimkros/myweb
<?php

//主页
include_once '_approot.php';
include_once APPROOT . '/lib/header.php';
session_check(get_current_url());
$base = new PageBase(TEMPLATE, ' 个人记账系统', PageBase::$LAYOUT_COLUMN2_NARROWLEFT);
$base->setPgeSubTitle('日常流水账');
$base->setActiveMenuId('menuBill');
$base->addCss(array('/css/bootstrap-datepicker3.min.css'));
$base->addScript(array('/js/validate.js', '/js/pbs/bill.js', '/js/pbs/dateQuery.js', '/js/bootstrap-datepicker.min.js', '/js/locales/bootstrap-datepicker.zh-CN.min.js', '/js/bootstrap-paginator.js'));
$navPart = new NavPart();
$base->setNavPart($navPart);
$accountQuickListPart = new AccountQuickListPart();
$base->addPart(PageBase::$BODY_LEF, $accountQuickListPart);
$billManagePart = new BillManagePart();
$base->addPart(PageBase::$BODY_CENTER, $billManagePart);
$base->show();