<?php page_begin("Trade Resources"); $wndItemSelect = new Window(); $wndItemSelect->Name = "wndItemSelect"; $wndItemSelect->Title = "Select Items to Trade"; $wndItemSelect->Left = 500; $wndItemSelect->Width = 500; $wndItemSelect->BeginRender(); ?> <input type="text" id="txtSearch" onchange="txtSearch_TextChanged();" placeholder="Type here to search your inventory" style="width: 100%" /> <div class="ButtonGroup ButtonGroupHorizontal"> <?php $items = mmo_get_items_by_user($CurrentUser); foreach ($items as $item) { ?> <a class="ButtonGroupButton" href="#" onclick=""> <img class="ButtonGroupButtonImage" src="/market/items/<?php echo $item->Name; ?> /images/thumbnail.png" /> <span class="ButtonGroupButtonText"><?php echo $item->Title; ?> </span> </a> <?php } ?> </div> <div style="text-align: right;">
<a href="/community/members/<?php echo $thisuser->Name; ?> /journals/<?php echo $journal->Name; ?> /entries/create.mmo">Return to Create Entry</a> </p> <?php page_end(); return; } header("Location: /community/members/" . $thisuser->ShortName . "/journals/" . $journal->Name . "/entries/" . $_POST["entry_name"]); return; } page_begin($entry->Name . " | " . $journal->Name . " | " . $thisuser->LongName . "'s Journal"); ?> <div class="Panel"> <h3 class="PanelTitle">Journal Entry Properties</h3> <div class="PanelContent"> <form action="modify.mmo" method="POST"> <p> Entry name and title must be 50 characters or less. Name must be alphanumeric characters only with no spaces. </p> <input type="hidden" name="attempt" value="1" /> <table style="margin-left: auto; margin-right: auto;"> <tr> <td><label for="txtName">Entry <u>n</u>ame (for URLs):</label></td> <td><input type="text" id="txtName" name="entry_name" accesskey="n" value="<?php echo $entry->Name;
page_begin("Error"); ?> <h1>Error</h1> <p><?php echo mysql_errno() . ": " . mysql_error(); ?> </p> <?php page_end(); return; } else { header("Location: /community/members/" . $thisuser->ShortName . "/journals"); return; } } page_begin("Remove Journal"); ?> <div class="Panel"> <h3 class="PanelTitle">Confirm Journal Removal</h3> <div class="PanelContent"> <p>Are you sure you want to remove the Journal "<?php echo $journal->Title; ?> "? Please note that once the Journal is removed, all of its content, including entries and comments on those entries, will be <strong>LOST FOREVER</strong>.</p> <form action="remove.mmo" method="POST"> <input type="hidden" name="attempt" value="1" /> <table style="margin-left: auto; margin-right: auto;"> <tr> <td colspan="2" style="text-align: right;"> <input type="submit" value="Remove Journal" /> <a class="Button" href="/community/members/<?php
page_begin("Error"); ?> <h1>Error</h1> <p><?php echo mysql_errno() . ": " . mysql_error(); ?> </p> <?php page_end(); return; } else { header("Location: /community/members/" . $thisuser->ShortName . "/journals/" . $_POST["journal_name"]); return; } } page_begin("Modify Journal"); ?> <div class="Panel"> <h3 class="PanelTitle">Journal Properties</h3> <div class="PanelContent"> <form action="modify.mmo" method="POST"> <input type="hidden" name="attempt" value="1" /> <table style="margin-left: auto; margin-right: auto;"> <tr> <td><label for="txtJournalName">Journal <u>n</u>ame:</label></td> <td><input type="text" name="journal_name" id="txtJournalName" maxlength="50" accesskey="n" value="<?php echo $journal->Name; ?> " /></td> </tr> <tr>
page_begin("Error"); ?> <h1>Error</h1> <p><?php echo mysql_errno() . ": " . mysql_error(); ?> </p> <?php page_end(); return; } else { header("Location: /community/members/" . $thisuser->ShortName . "/journals/" . $journal->Name); return; } } page_begin("Remove Journal Entry"); ?> <div class="Panel"> <h3 class="PanelTitle">Confirm Journal Entry Removal</h3> <div class="PanelContent"> <p>Are you sure you want to remove the Journal Entry "<?php echo $entry->Title; ?> "? Please note that once the Journal Entry is removed, all of its content, including comments, will be <strong>LOST FOREVER</strong>.</p> <form action="remove.mmo" method="POST"> <input type="hidden" name="attempt" value="1" /> <table style="margin-left: auto; margin-right: auto;"> <tr> <td colspan="2" style="text-align: right;"> <input type="submit" value="Remove Entry" /> <a class="Button" href="/community/members/<?php
<?php /* * PHP script for importing data from XMLs * Project: poff.ee * Author: Robi-Steaven Bankier */ ini_set('display_errors', "1"); ini_set("memory_limit", "128M"); ini_set("max_execution_time", "2400"); require_once "./cfg/pre.inc"; require_once INIT_DIR . "db.inc"; require_once MODULE_DIR . "ind_functions.inc"; require_once "importer_functions.inc"; page_begin(); if (@strcmp($_GET['accesskey'], 'crwdNuv4o6VfnytZFa82HEfRr97yMndhVxASjUBc')) { die('Ligipääs keelatud!'); } if (@$_GET['mode'] == 'screenings') { $mode = 'screenings'; } elseif (@$_GET['mode'] == 'all') { $mode = 'all'; } else { die('Importija režiim polnud valitud! XML\'i importimine katkestati.'); } if (!@$_GET['debug']) { $host = 'datakal.poff.ee'; $port = '8080'; // real information // NOTE: do not change items order $url_list = array('/xml?sql=xml_web_countries&root=root', '/xml?sql=xml_web_sections&root=root', '/xml?sql=xml_web_cinemas&root=root', '/xml?sql=xml_web_films&root=root', '/xml?sql=xml_web_screenings&root=root', '/xml?sql=xml_web_directors&root=root');