Ejemplo n.º 1
0
		<p><input type="submit" name="save" value="<?php 
            echo GetMessage("FORM_SAVE");
            ?>
" class="inputbutton"><input type="hidden" name="save" value="Y">&nbsp;<input type="reset" class="inputbutton" value="<?php 
            echo GetMessage("FORM_RESET");
            ?>
"></p>
		<?php 
        }
        //endif(intval($res_counter)>0 && $SHOW_STATUS=="Y" && $F_RIGHT>=20);
        ?>
		<p>

		<?php 
        $rsResults->NavStart($page_split);
        echo $rsResults->NavPrint(GetMessage("FORM_PAGES"));
        if (!$rsResults->NavShowAll) {
            $pagen_from = (intval($rsResults->NavPageNomer) - 1) * intval($rsResults->NavPageSize);
            $arRID_tmp = array();
            if (is_array($arRID) && count($arRID) > 0) {
                $i = 0;
                foreach ($arRID as $rid) {
                    if ($i >= $pagen_from && $i < $pagen_from + $page_split) {
                        $arRID_tmp[] = $rid;
                        // array of IDs of results for the page
                    }
                    $i++;
                }
            }
            $arRID = $arRID_tmp;
        }
Ejemplo n.º 2
0
	fileencode = document.fform.actfile_name.value;
	OpenFile(fileencode, '<?php 
    echo AddSlashes(htmlspecialcharsex($path));
    ?>
');
}
//-->
</script>
<?php 
    $arDirContent = array_merge($arDirs, $arFiles);
    $db_DirContent = new CDBResult();
    $db_DirContent->InitFromArray($arDirContent);
    $db_DirContent->sSessInitAdd = $path;
    $db_DirContent->NavStart(50);
    if ($db_DirContent->IsNavPrint()) {
        $db_DirContent->NavPrint(GetMessage("FILEMAN_T_FILES"));
        echo "<br>&nbsp;";
    }
    ?>
<table width="100%" border="0" cellpadding="1" cellspacing="1">
	<tr>
		<td class="tablehead1" align="center"><font class="tableheadtext"><?php 
    echo GetMessage('FILEMAN_FILE_NAME');
    ?>
</font></td>
		<td class="tablehead2" align="center"><font class="tableheadtext"><?php 
    echo GetMessage('FILEMAN_FILE_SIZE');
    ?>
</font></td>
		<td class="tablehead3" align="center"><font class="tableheadtext"><?php 
    echo GetMessage('FILEMAN_FILE_TIMESTAMP');
Ejemplo n.º 3
0
echo EndFilter();
?>
<br>
<p><?php 
$total_COUNTER = 0;
$total_COUNTER_BACK = 0;
$arEvents = array();
while ($arEvent = $events->Fetch()) {
    $arEvents[] = $arEvent;
    $total_COUNTER += intval($arEvent["COUNTER"]);
    $total_COUNTER_BACK += intval($arEvent["COUNTER_BACK"]);
}
$events = new CDBResult();
$events->InitFromArray($arEvents);
$events->NavStart();
echo $events->NavPrint(GetMessage("STAT_ADV_EVENTS_PAGES"));
?>
</p>
<table border="0" width="100%" cellspacing="1" cellpadding="3">
	<tr>
		<?php 
if ($find_group == "NOT_REF") {
    ?>
		<td valign="top" align="center" width="0%" nowrap class="tablehead1">
			<font class="tableheadtext">ID<br><?php 
    echo SortingEx("s_id");
    ?>
</font></td>
		<?php 
}
?>