<input type="text" name="twitter" value="<?php echo show_value('twitter'); ?> " class="textfield width-100pct" /> </td> <td> <label>YouTube</label> <input type="text" name="youtube" value="<?php echo show_value('youtube'); ?> " class="textfield width-100pct" /> </td> <td> <label>Linked In</label> <input type="text" name="linkedin" value="<?php echo show_value('linkedin'); ?> " class="textfield width-100pct" /> </td> </tr> <?php require "tpl/inc/rights.php"; ?> </table> </div> </div> </form> </div> <?php
} else { echo htmlspecialchars($record['postcode']); } ?> " /> </td> </tr> <tr> <td colspan="2"> <label>If this property doesn't have any H+L Packages</label><br /> <select name="hide_empty" class="textfield width-100pct"> <?php $hide_empty = array('1' => 'Hide this property from the search results', '0' => 'Show an enquiry form to collect user\'s interest in the suburb'); foreach ($hide_empty as $mu => $label) { $selected = ''; if ($mu == show_value('hide_empty')) { $selected = ' selected="selected" '; } ?> <option<?php echo $selected; ?> value="<?php echo $mu; ?> "><?php echo $label; ?> </option> <?php }
<?php require "tpl/inc/buttons.php"; ?> <div class="right-col-padding1"> <div class="width-99pct"> <table class="rec-table"> <?php require "tpl/inc/record.php"; ?> <tr> <td colspan="2"> <label>ID Number</label><br /> <input type="text" class="textfield width-100pct" value="<?php echo show_value('type_id'); ?> " name="type_id" /> </td> </tr> <tr> <td colspan="4"> <label><?php echo $lang[59]; ?> </label><br /> <textarea name="description" cols="30" rows="10" class="textfield height-200 tinymce"><?php if (isset($_POST['description'])) { echo htmlspecialchars($_POST['description']); } else { echo htmlspecialchars(preg_replace('/src="/', 'src="../', $record['description']));
echo $selected; ?> ><?php echo ucwords($o); ?> </option> <?php } ?> </select> </td> <td> <label>Sold Date (DD-MM-YYYY)</label><br /> <input type="text" name="sold_date" class="textfield width-100pct" value="<?php if (show_value('sold_date') != '' || show_value('sold_date') != 0) { echo date('d-m-Y', strtotime(show_value('sold_date'))); } ?> " /> </td> <td> <label>Property Under Contract</label> <?php $options = array('0' => 'No', '1' => 'Yes'); ?> <select name="under_contract" class="width-100pct textfield"> <?php foreach ($options as $k => $o) { if ($_POST['under_contract'] == $k || $record['under_contract'] == $k) { $selected = ' selected="selected" '; } else {
<th>Thursday</th> <th>Friday</th> <th>Saturday</th> </tr> <?php $title_i = 1; for ($row = 0; $row < 20; $row++) { ?> <tr> <td class="label"> Label<br /> <input type="text" name="title_<?php echo $title_i; ?> " class="textfield width-100pct" value="<?php echo show_value('title_' . $title_i); ?> " /> </td> <?php for ($col = 0; $col < 6; $col++) { ?> <td> <?php echo row_contents($row, $col); ?> </td> <?php } ?> </tr>
<?php require "tpl/inc/buttons.php"; ?> <div class="right-col-padding1"> <div class="width-99pct"> <table class="rec-table"> <?php require "tpl/inc/record.php"; ?> <tr> <td colspan="2"> <label>ID Number</label><br /> <input type="text" class="textfield width-100pct" value="<?php echo show_value('number'); ?> " name="number" /> </td> </tr> <tr> <td colspan="4"> <label><?php echo $lang[59]; ?> </label><br /> <textarea name="description" cols="30" rows="10" class="textfield height-200 tinymce"><?php if (isset($_POST['description'])) { echo htmlspecialchars($_POST['description']); } else { echo htmlspecialchars(preg_replace('/src="/', 'src="../', $record['description']));
?> <tr> <td colspan="2"> <?php $clubs = dbq('SELECT * FROM wp_structure, wp_logo WHERE id = link AND online = 1'); ?> <label>Include a logo at the beginning of this logo.</label><br /> <select name="logo" class="width-100pct textfield"> <option></option> <?php $curr_value = show_value('logo'); foreach ($clubs as $c) { $selected = ''; if (!empty($curr_value) && $c['id'] == show_value('logo')) { $selected = 'selected="selected"'; } ?> <option value="<?php echo $c['id']; ?> " <?php echo $selected; ?> ><?php echo $c['title']; ?> </option> <?php }
} ?> </select> </td> <td colspan="2"> <?php $belts = dbq('SELECT * FROM wp_structure, wp_belt WHERE id = link AND online = 1'); ?> <label>Belt</label><br /> <select name="belt" class="width-100pct textfield"> <option></option> <?php $curr_value = show_value('belt'); foreach ($belts as $b) { $selected = ''; if (!empty($curr_value) && $b['id'] == show_value('belt')) { $selected = 'selected="selected"'; } ?> <option value="<?php echo $b['id']; ?> " <?php echo $selected; ?> ><?php echo $b['title']; ?> </option> <?php }
?> " <?php echo $selected; ?> ><?php echo $b['title']; ?> </option> <?php } ?> </select> <br /> <label>Price</label><br /> <span>$</span><input type="text" class="textfield" style="width:50%" value="<?php echo show_value('product_postage1'); ?> " name="leather-price-add" id="leather-price-add" /> <input type="button" value="Add Leather" onClick="addModelElement('<?php echo $id; ?> ', 'leather');" /> </div> <div id="image-parent-leather"> <ul id="image-sort-leather" class="file-parent"> <?php $linked_leatherr = dbq("SELECT wm.*, ws.title FROM `wp_model_element` wm, `wp_leather` wl, `wp_structure` ws WHERE ws.id = wl.link AND wm.type_id = wl.link AND wm.`parent` = '{$id}' AND wm.type = 'leather' ORDER BY wm.`position`"); if (is_array($linked_leatherr)) { foreach ($linked_leatherr as $li) { ?> <li class="sort-li" id="<?php
} ?> )>Yes</option> </select> </td> <td> <label>Add form results to leads database</label><br /> <select name="add_lead" class="width-100pct textfield"> <option value="0" <?php if (show_value('add_lead') == 0) { echo 'selected="selected"'; } ?> )>No</option> <option value="1" <?php if (show_value('add_lead') == 1) { echo 'selected="selected"'; } ?> )>Yes</option> </select> </td> </tr> <tr> <td colspan="4"> <?php $form_elements = dbq('SELECT * FROM wp_form_element WHERE parent = ' . $id . ' ORDER BY `position`'); ?> <label>Form Items<br /></label> <h3 style="margin-bottom: 0px;">Name and Email are automatically added to the form.</h3>
<td colspan="2"> <label>Video Image</label> <input type="text" id="image" name="image" cols="30" rows="10" class="textfield width-100pct" value="<?php echo show_value('image'); ?> " /> </td> <tr> <td colspan="4"> <label><?php echo $lang[59]; ?> </label><br /> <textarea name="details" cols="30" rows="10" class="textfield height-200 tinymce"><?php echo show_value('details'); ?> </textarea> </td> </tr> </tr> <tr> <td colspan="2"> <label>Upload Images</label><br />
?> </select> </td> </tr> <tr> <td colspan="4"> <label>Page Layout (Title and Article Pages)</label><br /> <?php $layouts[] = array('name' => 'Standard Layout', 'view' => 'content_view', 'img' => 'img/layout/content_view.gif'); $layouts[] = array('name' => 'Image on Left Layout', 'view' => 'content2_view', 'img' => 'img/layout/content2_view.gif'); $layouts[] = array('name' => 'Three Columns of text', 'view' => 'three_column_view', 'img' => 'img/layout/three_column_view.gif'); $layouts[] = array('name' => 'One Column with 2 image columns', 'view' => 'one_column_view', 'img' => 'img/layout/one_column_view.gif'); $selected = show_value('layout'); foreach ($layouts as $l) { $checked = ''; if (!empty($selected) && ($selected == $l['view'] || $selected == $l['view'])) { $checked = 'checked="checked"'; } ?> <label class="layout-item"> <input type="radio" name="layout" value="<?php echo $l['view']; ?> " <?php echo $checked; ?> /><?php echo $l['name'];
<label>To automatically add latitude and longitude to this location leave the two fields below clear. Clearing this field on an existing location will re-retrieve the latitude and longitude</label> </td> </tr> <tr> <td> <label>Latitude</label><br/> <input type="text" id="lat" name="lat" class="textfield width-100pct" value="<?php echo show_value('lat'); ?> " /> </td> <td> <label>Longitude</label><br/> <input type="text" id="lon" name="lon" class="textfield width-100pct" value="<?php echo show_value('lon'); ?> " /> </td> </tr> <tr> <td colspan="4"> <label><?php echo $lang[59]; ?> </label><br /> <textarea name="content" cols="30" rows="25" class="textfield tinymce"><?php if (isset($_POST['title'])) { echo htmlspecialchars($_POST['content']); } else { echo htmlspecialchars(preg_replace('/src="[^http]/', 'src="../', $record['content']));
<input type="text" name="agent_phone" class="textfield width-100pct" value="<?php echo show_value('agent_phone'); ?> " /> </td> <td> <label>Mobile</label><br /> <input type="text" name="agent_mobile" class="textfield width-100pct" value="<?php echo show_value('agent_mobile'); ?> " /> </td> <td> <label>Email</label><br /> <input type="text" name="agent_email" class="textfield width-100pct" value="<?php echo show_value('agent_email'); ?> " /> </td> </tr> </table> </fieldset> </td> </tr> <tr> <td> <label>Address</label><br /> <input type="text" name="address" class="textfield width-100pct" value="<?php
function show_ini($key) { show_value($key, ini_get($key)); }
</td> </tr> <tr> <td colspan="2"> <label>Colours</label><br /> <input type="text" class="textfield width-100pct" value="<?php echo show_value('colours'); ?> " name="colours" /> </td> <td colspan="2"> <label>Sizes</label><br /> <input type="text" class="textfield width-100pct" value="<?php echo show_value('sizes'); ?> " name="sizes" /> </td> </tr> <tr> <td colspan="4"> <label><?php echo $lang[59]; ?> </label><br /> <textarea name="content" cols="30" rows="10" class="textfield height-200 tinymce"><?php if (isset($_POST['title'])) { echo htmlspecialchars($_POST['content']); } else {
$content->setCurrentBlock("ENTRY"); $content->setVariable("LABEL", "smtp Loglevel"); $content->setVariable("VALUE", $loglevel[$result[$tnr_smtp]]); $content->parse("ENTRY"); $content->setCurrentBlock("ENTRY"); $content->setVariable("LABEL", "events Loglevel"); $content->setVariable("VALUE", $loglevel[$result[$tnr_events]]); $content->parse("ENTRY"); $content->setCurrentBlock("ENTRY"); $content->setVariable("LABEL", "security loglevel"); $content->setVariable("VALUE", $loglevel[$result[$tnr_security]]); $content->parse("ENTRY"); $content->parse("BLOCK_BLOCK"); $content->setCurrentBlock("BLOCK_BLOCK"); $content->setVariable("LABEL_BLOCK", PLATFORM_NAME . " PHP Frontend"); $content->setCurrentBlock("ENTRY"); $content->setVariable("LABEL", "Version"); $content->setVariable("VALUE", KOALA_VERSION); $content->parse("ENTRY"); $content->setCurrentBlock("ENTRY"); $content->setVariable("LABEL", "Database Download"); $content->setVariable("VALUE", show_value(USE_DATABASE_DOWNLOAD)); $content->parse("ENTRY"); $content->parse("BLOCK_BLOCK"); // PHP information: $content->setVariable("LABEL_PHP_INFORMATION", gettext("PHP information")); //TODO $portal->set_page_main("", $content->get(), ""); $portal->show_html(); // manage public group categories: // public group categories are containers in /home/PublicGroups (with a description)