Example #1
0
</ul>
<hr class="normal">
<ul id="footlink">
<?php 
} else {
    //グループ表示
    ?>
<h1>クエストデータ</h1>
<hr class="normal">
<h2><?php 
    echo $category[$id];
    ?>
</h2>
<ul id="linklist">
<?php 
    $end = quest_category_end($category, $id);
    $data->select_column("id,name", $table, "id", "BETWEEN {$id} AND {$end}");
    while ($row = $data->fetch()) {
        $q_id = $row["id"];
        $q_name = $row["name"];
        $id_f = isset($data->is_admin) ? sprintf("%5d:", $q_id) : "";
        ?>
<li><?php 
        echo $id_f;
        ?>
<a href="./data/?id=<?php 
        echo $q_id;
        ?>
"><?php 
        echo $q_name;
        ?>
Example #2
0
</div>
<hr>
<div>
グループ
<?php 
    echo $form->build_select_group($group_xml, $group_id);
    ?>
</div>
<hr>
ページ
<?php 
    echo $form->build_select_page($count, $PAGESIZE, $page);
    ?>
<hr>
<?php 
    $data->select_column_p("*", $table, "id BETWEEN {$group_id} AND " . quest_category_end($category, $group_id), $page, $PAGESIZE, "id");
    while ($row = $data->fetch()) {
        ?>
<hr>
<div>
<?php 
        echo $form->load_xml_string(xml_quest_form_upd($row));
        ?>
</div>
<?php 
    }
    ?>
<hr>
<?php 
    echo $count;
    ?>