Example #1
0
<ul class="operate">
	<li><a href="../<?php 
echo $_GET['type'];
?>
/"><?php 
echo $type[$_GET['type']];
?>
に戻る</a></li>
	<li><a href="add.php?type=<?php 
echo $_GET['type'];
?>
">フォルダ追加</a></li>
</ul>
<table class="list" cellspacing="0" style="width:600px;">
	<tr><th><?php 
echo $pagination->sortby('folder_caption', 'フォルダ名');
?>
</th>
	<th style="width:150px;"><?php 
echo $pagination->sortby('folder_date', '登録日');
?>
</th>
	<th style="width:100px;"><?php 
echo $pagination->sortby('folder_order', '順序');
?>
</th>
	<th class="listlink">&nbsp;</th><tr>
<?php 
if (is_array($hash['list']) && count($hash['list']) > 0) {
    foreach ($hash['list'] as $row) {
        ?>
Example #2
0
    echo '<ul class="folderlist">';
    foreach ($hash['folder'] as $key => $value) {
        echo sprintf('<li%s><a href="index.php?folder=%s">%s</a></li>', $current[$key], $key, $value);
    }
    echo '</ul><div class="folderoperate"><a href="../folder/?type=message">編集</a></div>';
} else {
    echo '<ul><li><a href="../folder/add.php?type=message">フォルダ追加</a></ul>';
}
?>
	</div>
</td><td>
	<form method="post" name="checkedform" action="">
		<table class="list visited" cellspacing="0">
			<tr><th class="listcheck"><input type="checkbox" value="" onclick="App.checkall(this)" /></th>
			<th><?php 
echo $pagination->sortby('message_toname', '宛先');
?>
</th>
			<th><?php 
echo $pagination->sortby('message_title', '件名');
?>
</th>
			<th style="width:140px;"><?php 
echo $pagination->sortby('message_date', '日時');
?>
</th>
<?php 
if (is_array($hash['list']) && count($hash['list']) > 0) {
    foreach ($hash['list'] as $row) {
        ?>
			<tr><td class="listcheck"><input type="checkbox" name="checkedid[]" value="<?php 
Example #3
0
require_once '../application/loader.php';
$view->heading('カテゴリ', $_GET['type']);
$pagination = new Pagination(array('type' => $_GET['type']));
if (strlen($_GET['type']) > 0) {
    ?>
<h1>カテゴリ</h1>
<ul class="operate">
	<li><a href="../customer/">顧客管理に戻る</a></li>
	<li><a href="add.php?type=<?php 
    echo $_GET['type'];
    ?>
">カテゴリ追加</a></li>
</ul>
<table class="list" cellspacing="0">
	<tr><th><?php 
    echo $pagination->sortby('folder_caption', 'カテゴリ名');
    ?>
</th>
	<th><?php 
    echo $pagination->sortby('folder_name', '登録者');
    ?>
</th>
	<th><?php 
    echo $pagination->sortby('folder_date', '登録日');
    ?>
</th>
	<th><?php 
    echo $pagination->sortby('folder_order', '順序');
    ?>
</th>
	<th class="listlink">&nbsp;</th></tr>
Example #4
0
echo '<li' . $currentfolder[0] . '><a href="index.php' . $view->parameter(array('type' => $_GET['type'])) . '">トップ</a></li>';
if (is_array($hash['folder']) && count($hash['folder']) > 0) {
    foreach ($hash['folder'] as $key => $value) {
        echo '<li' . $currentfolder[$key] . '><a href="index.php' . $view->parameter(array('type' => $_GET['type'], 'folder' => $key)) . '">' . $value . '</a></li>';
    }
}
echo '</ul>';
if ($view->authorize('administrator', 'manager', 'editor')) {
    echo '<div class="folderoperate"><a href="../category/?type=customer">編集</a></div>';
}
?>
	</div>
</td><td>
	<table class="list" cellspacing="0">
		<tr><th><?php 
echo $pagination->sortby('customer_lastname', $caption);
?>
</th>
		<?php 
echo $liquid->listheader($hash['item'], $pagination);
?>
		<th class="listlink">&nbsp;</th></tr>
<?php 
if (is_array($hash['list']) && count($hash['list']) > 0) {
    foreach ($hash['list'] as $row) {
        ?>
		<tr><td><a href="customer.php?parent=<?php 
        echo $row['customer_id'];
        ?>
"><?php 
        echo $row['customer_lastname'];
Example #5
0
<?php 
if (is_array($hash['folder']) && count($hash['folder']) > 0) {
    foreach ($hash['folder'] as $key => $value) {
        echo sprintf('<li%s><a href="index.php?folder=%s">%s</a></li>', $current[$key], $key, $value);
    }
}
?>
		</ul>
		<div class="folderoperate"><a href="../folder/?type=todo">編集</a></div>
	</div>
</td><td>
	<form method="post" name="checkedform" action="">
		<table class="list" cellspacing="0">
			<tr><th class="listcheck"><input type="checkbox" value="" onclick="App.checkall(this)" /></th>
			<th colspan="2"><?php 
echo $pagination->sortby('todo_title', 'ToDo');
?>
</th>
			<th><?php 
echo $pagination->sortby('todo_term', '期限');
?>
</th>
<?php 
if (strlen($_GET['folder']) > 0) {
    echo '<th>' . $pagination->sortby('todo_completedate', '完了日') . '</th>';
}
?>
			<th><?php 
echo $pagination->sortby('todo_priority', '重要度');
?>
</th>
Example #6
0
><a href="index.php?group=all">すべて表示</a></li>
		</ul>
<?php 
if ($view->authorize('administrator')) {
    echo '<div class="folderoperate"><a href="../group/">編集</a></div>';
}
?>
	</div>
</td><td>
	<?php 
echo $view->error($hash['error']);
?>
	<form method="post" name="checkedform" action="">
		<table class="list" cellspacing="0">
			<tr><th><?php 
echo $pagination->sortby('userid', 'ユーザーID');
?>
</th>
			<th><?php 
echo $pagination->sortby('realname', '名前');
?>
</th>
			<th><?php 
echo $pagination->sortby('user_groupname', 'グループ');
?>
</th>
			<th><?php 
echo $pagination->sortby('authority', '権限');
?>
</th>
			<th><?php 
Example #7
0
<?php 
if (is_array($hash['folder']) && count($hash['folder']) > 0) {
    foreach ($hash['folder'] as $key => $value) {
        echo '<li' . $current[$key] . '><a href="index.php?folder=' . $key . '">' . $value . '</a></li>';
    }
}
echo '</ul>';
if ($view->authorize('administrator', 'manager', 'editor')) {
    echo '<div class="folderoperate"><a href="../folder/category.php?type=forum">編集</a></div>';
}
?>
	</div>
</td><td>
	<table class="list visited" cellspacing="0">
		<tr><th><?php 
echo $pagination->sortby('forum_title', 'タイトル');
?>
</th>
		<th><?php 
echo $pagination->sortby('forum_name', '名前');
?>
</th>
		<th><?php 
echo $pagination->sortby('forum_node', 'コメント');
?>
</th>
		<th><?php 
echo $pagination->sortby('forum_lastupdate', '最終更新日');
?>
</th>
<?php 
Example #8
0
    if ($_GET['folder'] > 0) {
        echo '<li class="storageprevious"><a href="index.php' . $view->positive(array('folder' => $hash['parent']['storage_folder'])) . '">上へ</a></li>';
    }
    foreach ($hash['folder'] as $key => $value) {
        echo sprintf('<li%s><a href="index.php?folder=%s">%s</a></li>', $current[$key], $key, $value);
    }
} else {
    echo '<li class="current"><a href="index.php">ルート</a></li>';
}
?>
		</ul>
	</div>
</td><td>
	<table class="list" cellspacing="0">
		<tr><th><?php 
echo $pagination->sortby('storage_title', 'タイトル');
?>
</th>
		<th><?php 
echo $pagination->sortby('storage_file', 'ファイル名');
?>
</th>
		<th><?php 
echo $pagination->sortby('storage_size', 'サイズ');
?>
</th>
		<th><?php 
echo $pagination->sortby('storage_name', '名前');
?>
</th>
		<th style="width:140px;"><?php 
Example #9
0
    echo '<ul class="folderlist">';
    foreach ($hash['folder'] as $key => $value) {
        echo sprintf('<li%s><a href="index.php?folder=%s">%s</a></li>', $current[$key], $key, $value);
    }
    echo '</ul><div class="folderoperate"><a href="../folder/?type=message">編集</a></div>';
} else {
    echo '<ul><li><a href="../folder/add.php?type=message">フォルダ追加</a></ul>';
}
?>
	</div>
</td><td>
	<form method="post" name="checkedform" action="">
		<table class="list visited" cellspacing="0">
			<tr><th class="listcheck"><input type="checkbox" value="" onclick="App.checkall(this)" /></th>
			<th><?php 
echo $pagination->sortby('message_fromname', '差出人');
?>
</th>
			<th><?php 
echo $pagination->sortby('message_title', '件名');
?>
</th>
			<th style="width:140px;"><?php 
echo $pagination->sortby('message_date', '日時');
?>
</th>
<?php 
if (is_array($hash['list']) && count($hash['list']) > 0) {
    foreach ($hash['list'] as $row) {
        ?>
			<tr><td class="listcheck"><input type="checkbox" name="checkedid[]" value="<?php 
Example #10
0
if ($view->permitted($hash['category'], 'add')) {
    echo '<li><a href="add.php' . $view->parameter(array('folder' => $_GET['folder'])) . '">ブックマーク追加</a></li>';
}
?>
</ul>
<?php 
echo $view->searchform(array('folder' => $_GET['folder']));
?>
<table class="content" cellspacing="0"><tr><td class="contentfolder">
	<?php 
echo $view->category($hash['folder'], 'bookmark');
?>
</td><td>
	<table class="list visited" cellspacing="0">
		<tr><th><?php 
echo $pagination->sortby('bookmark_title', 'タイトル');
?>
</th>
		<th><?php 
echo $pagination->sortby('bookmark_name', '名前');
?>
</th>
		<th><?php 
echo $pagination->sortby('bookmark_date', '日時');
?>
</th>
		<th class="listlink">&nbsp;</th></tr>
<?php 
if (is_array($hash['list']) && count($hash['list']) > 0) {
    foreach ($hash['list'] as $row) {
        ?>
Example #11
0
 */
require_once '../application/loader.php';
$view->heading('グループ', 'administration');
$pagination = new Pagination();
?>
<h1>グループ</h1>
<ul class="operate">
	<li><a href="../user/">ユーザー管理に戻る</a></li>
	<li><a href="add.php">グループ追加</a></li>
</ul>
<?php 
echo $view->searchform();
?>
<table class="list" cellspacing="0" style="width:500px;">
	<tr><th><?php 
echo $pagination->sortby('group_name', 'グループ名');
?>
</th>
	<th><?php 
echo $pagination->sortby('group_order', '順序');
?>
</th>
	<th class="listlink">&nbsp;</th></tr>
<?php 
if (is_array($hash['list']) && count($hash['list']) > 0) {
    foreach ($hash['list'] as $row) {
        ?>
	<tr><td><a href="view.php?id=<?php 
        echo $row['id'];
        ?>
"><?php 
Example #12
0
?>
			<li<?php 
echo $current['all'];
?>
><a href="index.php?folder=all">すべて表示</a></li>
		</ul>
<?php 
if ($view->authorize('administrator', 'manager', 'editor')) {
    echo '<div class="folderoperate"><a href="../folder/category.php?type=project">編集</a></div>';
}
?>
	</div>
</td><td>
	<table class="list" cellspacing="0">
		<tr><th><?php 
echo $pagination->sortby('project_title', 'タイトル');
?>
</th>
		<th><?php 
echo $pagination->sortby('project_begin', '開始');
?>
</th>
		<th><?php 
echo $pagination->sortby('project_end', '終了');
?>
</th>
		<th><?php 
echo $pagination->sortby('project_name', '名前');
?>
</th></tr>
<?php 
Example #13
0
"<?php 
echo $attribute;
?>
>CSV出力</a></li>
</ul>
<?php 
echo $view->searchform(array('folder' => $_GET['folder']));
?>
<table class="content" cellspacing="0"><tr><td class="contentfolder">
	<?php 
echo $view->category($hash['folder'], 'addressbook', 'company.php');
?>
</td><td>
	<table class="list" cellspacing="0">
		<tr><th><?php 
echo $pagination->sortby('addressbook_company', '会社名');
?>
</th>
		<th><?php 
echo $pagination->sortby('addressbook_postcode', '郵便番号');
?>
</th>
		<th><?php 
echo $pagination->sortby('addressbook_address', '住所');
?>
</th>
		<th><?php 
echo $pagination->sortby('addressbook_phone', '電話番号');
?>
</th></tr>
<?php 
Example #14
0
"<?php 
echo $attribute;
?>
>CSV出力</a></li>
</ul>
<?php 
echo $view->searchform(array('folder' => $_GET['folder']));
?>
<table class="content" cellspacing="0"><tr><td class="contentfolder">
	<?php 
echo $view->category($hash['folder'], 'addressbook');
?>
</td><td>
	<table class="list" cellspacing="0">
		<tr><th><?php 
echo $pagination->sortby('addressbook_name', '名前');
?>
</th>
		<th><?php 
echo $pagination->sortby('addressbook_postcode', '郵便番号');
?>
</th>
		<th><?php 
echo $pagination->sortby('addressbook_address', '住所');
?>
</th>
		<th><?php 
echo $pagination->sortby('addressbook_phone', '電話番号');
?>
</th></tr>
<?php 
Example #15
0
if (is_array($hash['group']) && count($hash['group']) > 0) {
    foreach ($hash['group'] as $key => $value) {
        echo '<li' . $current[$key] . '><a href="index.php?group=' . $key . '">' . $value . '</a></li>';
    }
}
?>
			<li<?php 
echo $current[0];
?>
><a href="index.php?group=all">すべて表示</a></li>
		</ul>
	</div>
</td><td>
	<table class="list" cellspacing="0">
		<tr><th><?php 
echo $pagination->sortby('realname', '名前');
?>
</th>
		<th><?php 
echo $pagination->sortby('user_groupname', 'グループ');
?>
</th>
		<th><?php 
echo $pagination->sortby('user_email', 'メールアドレス');
?>
</th>
		<th><?php 
echo $pagination->sortby('user_skype', 'スカイプID');
?>
</th>
		<th><?php 
Example #16
0
if ($view->authorize('administrator', 'manager')) {
    echo '<li><a href="config.php?folder=' . intval($_GET['folder']) . '">顧客設定</a></li>';
}
?>
</ul>
<?php 
echo $view->searchform(array('folder' => $_GET['folder']));
?>
<table class="content" cellspacing="0"><tr><td class="contentfolder">
	<?php 
echo $view->category($hash['folder'], 'customer', 'company.php');
?>
</td><td>
	<table class="list" cellspacing="0">
		<tr><th><?php 
echo $pagination->sortby('customer_juniorhighschool', '会社名');
?>
</th>
		<th><?php 
echo $pagination->sortby('customer_postcode', '郵便番号');
?>
</th>
		<th><?php 
echo $pagination->sortby('customer_address', '住所');
?>
</th>
		<th><?php 
echo $pagination->sortby('customer_phone', '電話番号');
?>
</th>
		<?php