/> Desc </td> </tr> <tr> <td class='formitem'>Quantity</td> <td class='forminput'> <?php echo b1n_buildSelect($search["possible_quantities"], array($search["search"]["search_quantity"]), array("name" => "search_quantity")); ?> </td> </tr> <tr> <td class='formitem'>Search</td> <td class='forminput'> <input type='text' name='search_text' value="<?php echo b1n_inHtml($search["search"]["search_text"]); ?> " size="<?php echo b1n_DEFAULT_SIZE; ?> " maxlength="<?php echo b1n_DEFAULT_MAXLEN; ?> " /> </td> </tr> <tr> <td class='forminput' colspan='2' align='center'> <input type="submit" value=' Search >>' /> <input type="button" value=' Show All >>' onClick='this.form.search_text.value = ""; this.form.submit();' /> </td>
</tr> <tr> <td class='formitem' width='1'> </td> <td class='formitem'>Desc</td> <td class='forminput'> <textarea name="fil_desc" rows="<?php echo b1n_DEFAULT_ROWS; ?> " cols="<?php echo b1n_DEFAULT_COLS; ?> " wrap="<?php echo b1n_DEFAULT_WRAP; ?> "><?php echo b1n_inHtml($reg_data['fil_desc']); ?> </textarea> </td> </tr> <tr> <td colspan='<?php echo $colspan; ?> ' class="forminput" align='center'> <input type="submit" value=" <?php echo ucfirst($action1); ?> >>" /> <input type="button" value=" Cancel >>" onClick="location='<?php echo b1n_URL . '?page0=' . $page0 . '&page1=' . $page1;
<?php /* $Id: init.inc.php,v 1.11 2003/07/06 05:52:59 mmr Exp $ */ if (!ini_get('safe_mode') && is_executable("/usr/games/fortune")) { $quote = `/usr/games/fortune -s`; } b1n_getVar("text", $text); if ($text == "welcome") { if (strlen(trim($_SESSION['user']['usr_name'])) > 0) { $text = $_SESSION['user']['usr_name'] . ","; } $text .= "<br/>Welcome to <i><b>FlyWatch</b> " . b1n_VERSION . "</i> !"; } if (isset($quote) && !empty($quote)) { $text .= "<br /><i>" . b1n_inHtml($quote) . "</i><br />"; } ?> <html> <head> <title>FlyWatch <?php echo b1n_VERSION; ?> </title> <link rel='stylesheet' href='<?php echo b1n_CSS; ?> ' /> </head> <body>
case "textarea": ?> <textarea name="<?php echo $reg['reg_data']; ?> " rows="<?php echo $reg['extra']['rows']; ?> " cols="<?php echo $reg['extra']['cols']; ?> " wrap="<?php echo $reg['extra']['wrap']; ?> "><?php echo b1n_inHtml($reg_data[$reg['reg_data']]); ?> </textarea> <?php break; } ?> </td> </tr> <?php } ?> <tr> <td colspan='<?php echo $colspan; ?>
function b1n_inHtmlLimit($var) { return b1n_inHtml(strlen($var) <= b1n_LIST_MAX_CHARS ? $var : substr($var, 0, b1n_LIST_MAX_CHARS) . "..."); }
?> </td> <td class='leg_arrive_gmt'> <?php echo b1n_inHtmlNoBr($item['leg_eta_dt']); ?> </td> <td class='leg_arrive'> </td> <td class='leg_arrive'> </td> <td class='leg_arrive'> </td> <td class='leg_arrive'> <?php echo b1n_inHtmlNoBr($item['leg_groundtime_i']); ?> </td> <td class='leg_arrive'> </td> <td class='leg_arrive'> <?php echo b1n_inHtml($item['leg_remarks']); ?> </td> <td class='leg_arrive'><a href="<?php echo b1n_URL . "?page0=" . $page0 . "&page1=" . $page1 . "&action0=load&action1=view&id=" . $item["id"]; ?> ">View</a></td> <td class='searchitem'><a href="<?php echo b1n_URL . "?page0=" . $page0 . "&page1=" . $page1 . "&action0=load&action1=change&id=" . $item["id"]; ?> ">Change</a></td> </tr> <?php $total_distance += $item['leg_distance']; $total_fuel += $item['leg_fuel']; $total_flight_time .= " + '" . $item['leg_ete_i'] . "'";
} ?> <tr> <td class='formitem'><?php echo $title; ?> </td> <td class='forminput'> <?php switch ($reg['type']) { case "text": case "textarea": if ($reg['check'] == 'email' && !empty($reg_data[$reg['reg_data']])) { echo " <a href='mailto:" . $reg_data[$reg['reg_data']] . "'>" . $reg_data[$reg['reg_data']] . "</a>"; } else { echo " " . b1n_inHtml($reg_data[$reg['reg_data']]); } break; case "select": switch ($reg['extra']['seltype']) { case "date": echo b1n_formatDateShow($reg_data[$reg['reg_data']]); break; case "date_hour": echo b1n_formatDateHourShow($reg_data[$reg['reg_data']]); break; case "defined": foreach ($reg['extra']['options'] as $opt_title => $opt_value) { if ($reg_data[$reg['reg_data']] == $opt_value) { echo $opt_title; break;