PATH:
home
/
sudairsocs
/
www
/
forum
/
Themes
/
default
<?php /** * Simple Machines Forum (SMF) * * @package SMF * @author Simple Machines https://www.simplemachines.org * @copyright 2022 Simple Machines and individual contributors * @license https://www.simplemachines.org/about/smf/license.php BSD * * @version 2.1.0 */ /** * Choose which type of report to run? */ function template_report_type() { global $context, $scripturl, $txt; echo ' <form action="', $scripturl, '?action=admin;area=reports" method="post" accept-charset="', $context['character_set'], '"> <div class="cat_bar"> <h3 class="catbg">', $txt['generate_reports_type'], '</h3> </div> <div class="windowbg"> <dl class="settings">'; // Go through each type of report they can run. foreach ($context['report_types'] as $type) { if (isset($type['description'])) echo ' <dt>', $type['description'], '</dt>'; echo ' <dd> <input type="radio" id="rt_', $type['id'], '" name="rt" value="', $type['id'], '"', $type['is_first'] ? ' checked' : '', '> <strong><label for="rt_', $type['id'], '">', $type['title'], '</label></strong> </dd>'; } echo ' </dl> <input type="submit" name="continue" value="', $txt['generate_reports_continue'], '" class="button"> <input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '"> </div><!-- .windowbg --> </form>'; } /** * This is the standard template for showing reports. */ function template_main() { global $context, $txt; echo ' <div class="cat_bar"> <h3 class="catbg">', $txt['results'], '</h3> </div> <div id="report_buttons">'; if (!empty($context['report_buttons'])) template_button_strip($context['report_buttons'], 'right'); echo ' </div>'; // Go through each table! foreach ($context['tables'] as $table) { echo ' <table class="table_grid report_results">'; if (!empty($table['title'])) echo ' <thead> <tr class="title_bar"> <th scope="col" colspan="', $table['column_count'], '">', $table['title'], '</th> </tr> </thead> <tbody>'; // Now do each row! $row_number = 0; foreach ($table['data'] as $row) { if ($row_number == 0 && !empty($table['shading']['top'])) echo ' <tr class="windowbg table_caption">'; else echo ' <tr class="', !empty($row[0]['separator']) ? 'title_bar' : 'windowbg', '">'; // Now do each column. $column_number = 0; foreach ($row as $data) { // If this is a special separator, skip over! if (!empty($data['separator']) && $column_number == 0) { echo ' <td colspan="', $table['column_count'], '" class="smalltext"> ', $data['v'], ': </td>'; break; } // Shaded? if ($column_number == 0 && !empty($table['shading']['left'])) echo ' <td class="table_caption ', $table['align']['shaded'], 'text"', $table['width']['shaded'] != 'auto' ? ' width="' . $table['width']['shaded'] . '"' : '', '> ', $data['v'] == $table['default_value'] ? '' : ($data['v'] . (empty($data['v']) ? '' : ':')), ' </td>'; else echo ' <td class="smalltext centertext" ', $table['width']['normal'] != 'auto' ? ' width="' . $table['width']['normal'] . '"' : '', !empty($data['style']) ? ' style="' . $data['style'] . '"' : '', '> ', $data['v'], ' </td>'; $column_number++; } echo ' </tr>'; $row_number++; } echo ' </tbody> </table>'; } } /** * Header of the print page! */ function template_print_above() { global $context, $settings, $modSettings; echo '<!DOCTYPE html> <html', $context['right_to_left'] ? ' dir="rtl"' : '', '> <head> <meta charset="', $context['character_set'], '"> <title>', $context['page_title'], '</title> <link rel="stylesheet" href="', $settings['default_theme_url'], '/css/report.css', $context['browser_cache'], '"> </head> <body>'; } /** * The main print page */ function template_print() { global $context; // Go through each table! foreach ($context['tables'] as $table) { echo ' <div style="overflow: visible;', $table['max_width'] != 'auto' ? ' width: ' . $table['max_width'] . 'px;' : '', '"> <table class="bordercolor">'; if (!empty($table['title'])) echo ' <tr class="title_bar"> <td colspan="', $table['column_count'], '"> ', $table['title'], ' </td> </tr>'; // Now do each row! $row_number = 0; foreach ($table['data'] as $row) { if ($row_number == 0 && !empty($table['shading']['top'])) echo ' <tr class="titlebg">'; else echo ' <tr class="windowbg">'; // Now do each column!! $column_number = 0; foreach ($row as $data) { // If this is a special separator, skip over! if (!empty($data['separator']) && $column_number == 0) { echo ' <td colspan="', $table['column_count'], '" class="smalltext"> <strong>', $data['v'], ':</strong> </td>'; break; } // Shaded? if ($column_number == 0 && !empty($table['shading']['left'])) echo ' <td class="titlebg ', $table['align']['shaded'], 'text"', $table['width']['shaded'] != 'auto' ? ' width="' . $table['width']['shaded'] . '"' : '', '> ', $data['v'] == $table['default_value'] ? '' : ($data['v'] . (empty($data['v']) ? '' : ':')), ' </td>'; else echo ' <td class="centertext" ', $table['width']['normal'] != 'auto' ? ' width="' . $table['width']['normal'] . '"' : '', !empty($data['style']) ? ' style="' . $data['style'] . '"' : '', '> ', $data['v'], ' </td>'; $column_number++; } echo ' </tr>'; $row_number++; } echo ' </table> </div> <br>'; } } /** * Footer of the print page. */ function template_print_below() { echo ' <div class="copyright">', theme_copyright(), '</div> </body> </html>'; } ?>
[+]
..
[-] index.template.php~
[edit]
[-] license.txt
[edit]
[+]
languages
[-] index.template.php
[edit]
[-] SplitTopics.template.php
[edit]
[-] Register.template.php~
[edit]
[-] index.php
[edit]
[+]
images
[-] ManageNews.template.php
[edit]
[+]
fonts
[-] BoardIndex.template.php
[edit]
[-] ManageMail.template.php
[edit]
[-] PersonalMessage.template.php~
[edit]
[-] Calendar.template.php
[edit]
[-] Who.template.php
[edit]
[-] Reports.template.php
[edit]
[-] Printpage.template.php
[edit]
[-] Memberlist.template.php~
[edit]
[-] Display.template.php~
[edit]
[-] ManageScheduledTasks.template.php
[edit]
[-] ManageLanguages.template.php
[edit]
[-] SendTopic.template.php
[edit]
[-] Likes.template.php
[edit]
[-] Xml.template.php~
[edit]
[-] ReportedContent.template.php
[edit]
[-] Notify.template.php
[edit]
[-] Memberlist.template.php
[edit]
[-] ManagePaid.template.php
[edit]
[-] ModerationCenter.template.php
[edit]
[-] Recent.template.php
[edit]
[-] ManageMembergroups.template.php
[edit]
[-] ManageCalendar.template.php
[edit]
[-] Errors.template.php
[edit]
[-] Themes.template.php
[edit]
[-] Post.template.php
[edit]
[-] GenericList.template.php
[edit]
[-] Poll.template.php
[edit]
[-] ManageMembers.template.php
[edit]
[-] Admin.template.php
[edit]
[+]
scripts
[-] Login.template.php~
[edit]
[-] GenericControls.template.php
[edit]
[-] PersonalMessage.template.php
[edit]
[-] Admin.template.php~
[edit]
[-] Settings.template.php
[edit]
[-] Display.template.php
[edit]
[-] ReportToMod.template.php
[edit]
[-] Wireless.template.php
[edit]
[-] MessageIndex.template.php
[edit]
[-] Login.template.php
[edit]
[-] Reminder.template.php
[edit]
[-] ManageNews.template.php~
[edit]
[-] Search.template.php
[edit]
[-] ManageAttachments.template.php
[edit]
[-] Search.template.php~
[edit]
[-] Packages.template.php
[edit]
[-] Profile.template.php
[edit]
[-] ManageMaintenance.template.php
[edit]
[-] GenericMenu.template.php
[edit]
[-] Wireless.template.php~
[edit]
[-] ManageSearch.template.php
[edit]
[-] Notify.template.php~
[edit]
[-] MoveTopic.template.php
[edit]
[-] GenericControls.template.php~
[edit]
[-] Profile.template.php~
[edit]
[+]
css
[-] ManageSmileys.template.php
[edit]
[-] Compat.template.php
[edit]
[-] ManageBoards.template.php
[edit]
[-] Xml.template.php
[edit]
[-] ManageBans.template.php
[edit]
[-] Agreement.template.php
[edit]
[-] Register.template.php
[edit]
[-] Stats.template.php
[edit]
[-] ManagePermissions.template.php
[edit]
[-] Help.template.php
[edit]