Example #1
0
 <span class="required">*</span>:</td>
			<td><input class="form_text" name="name" value="<?php 
    echo $menu->GetName();
    ?>
" size="40" maxlength="30"></td>
		</tr>
		<tr>
			<td><?php 
    echo _MENU_ORDER;
    ?>
 <span class="required">*</span>:</td>
			<td>
				<?php 
    // output select tag as a total number of menus available
    $total_menus = Menu::GetAll(' menu_order ASC', TABLE_MENUS, '', $menu->GetParameter('language_id'));
    draw_numbers_select_field('order', $menu->GetOrder(2), 1, $total_menus[1]);
    ?>
			</td>
		</tr>
		<tr>
			<td><?php 
    echo _DISPLAY_ON;
    ?>
:</td>
			<td><?php 
    echo Menu::DrawMenuPlacementBox($menu->GetParameter('menu_placement'));
    ?>
</td>
		</tr>
		<tr>
			<td nowrap>
Example #2
0
Order Deny,Allow
Deny from all
Allow from localhost
Allow from 127.0.0.1
Allow from xx.xx.xx.xx <-- add here your IP address (allowed)
&lt;/Files&gt;
</pre>
				</td>
			</tr>
			<tr>
				<td colspan="3">
				<table cellpadding="0" cellspacing="0">
				<tr valign="top" id="cron_run_period_row" ' . ($params_cron['cron_type'] != 'non-batch' ? 'style="display:none;"' : '') . '>
					<td width="106px">' . _RUN_EVERY . ':</td>
					<td>
						' . draw_numbers_select_field('cron_run_period_value', $params_cron['cron_run_period_value'], 1, 100, 1, '', '', false) . '
						<select name="cron_run_period">
							<option value="minute" ' . ($params_cron['cron_run_period'] == 'minute' ? 'selected="selected"' : '') . '>' . _MINUTES . '</option>
							<option value="hour" ' . ($params_cron['cron_run_period'] == 'hour' ? 'selected="selected"' : '') . '>' . _HOURS . '</option>
						</select>
					</td>
				</tr>
				</table>
				</td>
			</tr>	
			<tr valign="top">
				<td height="170px">
					' . _LAST_RUN . ': 
				</td>
				<td>
					' . format_datetime($objSettings->GetParameter('cron_run_last_time'), '', '- ' . _NEVER . ' -') . '