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 */ // The main sub template - show the agreement and/or privacy policy function template_main() { global $context, $scripturl, $txt; if (!empty($context['accept_doc'])) echo ' <form action="', $scripturl, '?action=acceptagreement;doc=', $context['accept_doc'], '" method="post">'; if (!empty($context['agreement'])) { echo ' <div class="cat_bar"> <h3 class="catbg">', $txt['agreement' . (!empty($context['can_accept_agreement']) ? '_updated' : '')], '</h3> </div>'; if (!empty($context['can_accept_agreement'])) { echo ' <div class="information noup"> ', $txt['agreement_updated_desc'], ' </div>'; } elseif (!empty($context['agreement_accepted_date'])) { echo ' <div class="information noup"> ', sprintf($txt['agreement_accepted'], timeformat($context['agreement_accepted_date'], false)), ' </div>'; } echo ' <div class="windowbg noup"> ', $context['agreement'], ' </div>'; } if (!empty($context['privacy_policy'])) { echo ' <div class="cat_bar"> <h3 class="catbg">', $txt['privacy_policy' . (!empty($context['can_accept_privacy_policy']) ? '_updated' : '')], '</h3> </div>'; if (!empty($context['can_accept_privacy_policy'])) { echo ' <div class="information noup"> ', $txt['privacy_policy_updated_desc'], ' </div>'; } elseif (!empty($context['privacy_policy_accepted_date'])) { echo ' <div class="information noup"> ', sprintf($txt['privacy_policy_accepted'], timeformat($context['privacy_policy_accepted_date'], false)), ' </div>'; } echo ' <div class="windowbg noup"> ', $context['privacy_policy'], ' </div>'; } if (!empty($context['accept_doc'])) echo ' <div id="confirm_buttons"> <input type="submit" value="', $txt['agree'], '" class="button"> <input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '"> </div> </form>'; } ?>
[+]
..
[-] 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]