Пример #1
0
function search_type($str)
{
    global $cp;
    $objTypeList = new Type();
    $objTypeList->addWhere("type LIKE '" . $str . "%'");
    $objTypeList->loadList();
    if ($objTypeList->rMore()) {
        while ($objType = $objTypeList->rNext()) {
            $cur =& $cp->add_node('type');
            $cur->set_data($objType->type);
        }
    }
    return;
}
Пример #2
0
                    <li><a href="?show=future" accesskey="f"><?php 
echo $arrLanguageMenu['future_queues'];
?>
</a></li>
                    <li><a href="?show=past" accesskey="p"><?php 
echo $arrLanguageMenu['past_queues'];
?>
</a></li>
                    <li><a href="?show=all" accesskey="a"><?php 
echo $arrLanguageMenu['all_queues'];
?>
</a></li>
                  </ul>
                </li>
              <?php 
while ($objProj = $objTypeList->rNext()) {
    $pLink = 'index.php?sType=' . urlencode($objProj->type);
    ?>
                <li class="more"><a href="<?php 
    echo $pLink;
    ?>
"><?php 
    $objProj->p('type');
    ?>
</a>
                  <ul class="level2">
                    <li><a href="<?php 
    echo Tzn::concatUrl($pLink, 'show=future');
    ?>
"><?php 
    echo $arrLanguageMenu['future_queues'];
Пример #3
0
" onClick="return reconfirm('<?php 
echo $arrLanguageMessage['purge_all_confirm'];
?>
')"><img src="images/del.png" width="20" height="16" alt="del" border="0" /></a>&nbsp;<a href="type.php?mode=deleteAll" title="<?php 
echo $arrLanguageMessage['delete_all'];
?>
" onClick="return reconfirm('<?php 
echo $arrLanguageMessage['delete_all_confirm'];
?>
')"><img src="images/dex.png" width="20" height="16" alt="del" border="0" /></a></th>
			</tr>
		  </thead>
		  <tbody>
		<?php 
if ($objType->rMore()) {
    while ($objItem = $objType->rNext()) {
        ?>
			<tr>
			  <td><?php 
        $objItem->p('type');
        ?>
</td>
			  <td align="right"><?php 
        $objItem->p('queueCount');
        ?>
</td>
			  <td align="center"><a href="type.php?mode=purge&type=<?php 
        echo urlencode($objItem->type);
        ?>
" title="<?php 
        echo $arrLanguageMessage['purge_one'];