예제 #1
0
             $STEP = 1;
         }
         break;
     case 1:
     default:
         $super_for_keys = 'true';
         continue;
         break;
 }
 switch ($STEP) {
     case 2:
         if ($ERROR) {
             echo display_errors();
         }
         if ($NOTICE) {
             echo display_notices();
         }
         if ($SUCCESS) {
             echo display_success();
         }
         break;
     case 1:
     default:
         $HEAD[] = "<script type=\"text/javascript\" src=\"" . ENTRADA_URL . "/javascript/AutoCompleteList.js?release=" . html_encode(APPLICATION_VERSION) . "\"></script>";
         $PROCESSED["prov_state"] = isset($PROCESSED["province_id"]) && $PROCESSED["province_id"] ? (int) $PROCESSED["province_id"] : (isset($PROCESSED["apartment_province"]) && $PROCESSED["apartment_province"] ? $PROCESSED["apartment_province"] : "");
         $ONLOAD[] = "provStateFunction(\$F(\$('addApartmentForm')['countries_id']))";
         $ONLOAD[] = "display_key_contact(" . $super_for_keys . ")";
         /**
          * Determine whether the Google Maps can be shown.
          */
         if (defined("GOOGLE_MAPS_API") && GOOGLE_MAPS_API != "") {
예제 #2
0
파일: index.php 프로젝트: sushkh/library
<?php

include '../library.php';
$rownoticefetched = array();
$rownoticefetched = display_notices();
$count = sizeof($rownoticefetched);
$i = 0;
$flag = 0;
session_start();
if (isset($_SESSION['username'])) {
    $flag = 1;
}
$s = "";
?>


<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title>JSSATEN | Library</title>
        <meta name="description" content="WalksinDelhi will enthral you with the scintillating view of heart of 'Dilli' ">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
        <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
        <link rel="stylesheet" href="../assets/css/bootstrap.css">