예제 #1
0
" class="submit_button save_button" />
					<?php 
if ((int) $report_id && module_report::can_i('delete', 'reports')) {
    ?>
					<input type="submit" name="butt_del" id="butt_del" value="<?php 
    echo _l('Delete');
    ?>
" class="submit_button delete_button" />
					<?php 
}
?>
					<input type="button" name="cancel" value="<?php 
echo _l('Cancel');
?>
" onclick="window.location.href='<?php 
echo module_report::link_open(false);
?>
';" class="submit_button" />
				</td>
			</tr>
			<tr>
				<td align="center" colspan="3">
					<span class="button">
					<?php 
echo create_link("Print", "print", module_report::link_generate($report['report_id'], array('arguments' => array('o' => 'print'))));
?>
				</span>
				<span class="button">
					<?php 
echo create_link("Xls", "xls", module_report::link_generate($report['report_id'], array('arguments' => array('o' => 'xls'))));
?>
예제 #2
0
?>
</th>
    </tr>
    </thead>
    <tbody>
		<?php 
$c = 0;
foreach ($pagination['rows'] as $report) {
    ?>
		<tr class="<?php 
    echo $c++ % 2 ? "odd" : "even";
    ?>
">
			<td class="row_action">
				<?php 
    echo module_report::link_open($report['report_id'], true);
    ?>
			 </td>
             <td>
                <?php 
    echo htmlspecialchars($report['report_title']);
    ?>
            </td>
            <td>
                <?php 
    echo htmlspecialchars($report['notes']);
    ?>
            </td>
            <td>
			<span class="button">
				<?php