Example #1
0
function form_confirm($title_text, $body_text, $cancel_url, $action_url)
{
    ?>
	<br>
	<table align="center" cellpadding="1" cellspacing="0" border="0" bgcolor="#B61D22" width="60%">
		<tr>
			<td bgcolor="#B61D22" colspan="10">
				<table width="100%" cellpadding="3" cellspacing="0">
					<tr>
						<td bgcolor="#B61D22" class="textHeaderDark"><strong><?php 
    print $title_text;
    ?>
</strong></td>
					</tr>
					<?php 
    form_area($body_text);
    form_confirm_buttons($action_url, $cancel_url);
    ?>
				</table>
			</td>
		</tr>
	</table>
<?php 
}
Example #2
0
function form_message($title_text, $body_text, $ok_url) { ?>
		<br>
		<table align="center" cellpadding=1 cellspacing=0 border=0 bgcolor="#B61D22" width="60%">
			<tr>
				<td bgcolor="#B61D22" colspan="10">
					<table width="100%" cellpadding="3" cellspacing="0">
						<tr>
							<td bgcolor="#B61D22" class="textHeaderDark"><strong><?php print $title_text;?></strong></td>
						</tr>
						<?php	form_area($body_text); ?>
						<tr>
							<td bgcolor="#E1E1E1">
								<a href="<?php print $ok_url;?>"><img src="<?php print html_get_theme_images_path('button_ok.gif');?>" border="0" alt="<?php echo _('Ok');?>" align="absmiddle"></a>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>

<?php }