Esempio n. 1
0
            echo 'nationality=>' . $passenger->nationality . "<br>";
            echo '},<br />';
        }
        echo '},<br />';
    }
    //print_r(json_decode($item['decription']));
    ?>
                        </div>
                    </td>
<!--                    <td>
                        <a href="#" class="more" onclick="More(<?php 
    echo $item['id'];
    ?>
);">
                            <?php 
    echo LANG::T('click here');
    ?>
                        </a>    
                    </td>-->
                </tr>
                <?php 
}
?>
            </tbody>  

        </table>
<!--    <div id="modal" class="modal fade" role="dialog">
  <div class="modal-dialog">

     Modal content
    <div class="modal-content">
Esempio n. 2
0
        <input type="text" name="credit[aed]" class="form-control" placeholder="<?php 
echo LANG::T('AED Credit');
?>
" required="required">
    </div>
    <div class="input-group">
        Type:
        <div class="radio">
            <label> <input type="radio" name="isadmin"  value="1" id="admin" ><?php 
echo LANG::T('Administrator');
?>
</label>
        </div>
        <div class="radio">
            <label><input type="radio" name="isadmin"  value="0" id="user"  checked="checked"><?php 
echo LANG::T('_User');
?>
</label>
        </div>
        
    </div>
        <tr>
            <td>
                <button type="submit" value="Create" class="btn btn-success"><?php 
echo LANG::T('Create');
?>
</button>
            </td>
        </tr>
    </form>
</div>
Esempio n. 3
0
    <form action="index.php?controller=user&action=profile" method="post">
        <div class="form-group">
            <label for="name"></label>
            <input name='name' value="<?php 
echo $_SESSION['user']['name'];
?>
" class="form-control" required="required" />
            <label for="family"></label>
            <input name='family' value="<?php 
echo $_SESSION['user']['family'];
?>
" class="form-control" required="required" />
        </div>
        <div class="form-group">
            <button type="submit" class="btn btn-success"><?php 
echo LANG::T('Save Data');
?>
</button>
        </div>
    </form>
    
</div>

     </div>
    </div>
  </div>
</div>
<script>
    $(document).ready(function ()
    {
        $("#datepicker-report-in").datepicker({
Esempio n. 4
0
?>
">
            <input type="hidden" name="orderid" value="<?php 
echo $orderid;
?>
">
            <input type="hidden" name="roomid" value="<?php 
echo $_GET['tid'];
?>
"></tbody>
            <input type="hidden" name="total" value="<?php 
echo $_total;
?>
"></tbody>
            <button id="accept-box-btn" class="btn btn-success register" type="submit"><?php 
echo LANG::T('Register');
?>
</button>
            </form>           
            
    </div>
    <script>
    $(document).ready(function()
    {   
        $( ".datepicker-in" ).datepicker({
            showButtonPanel: true,
            defaultDate: "0w",
            isRTL: true,
            dateFormat: "yy/m/d",
            currentText: "Today",
            closeText: "Close",
Esempio n. 5
0
                    <option value="11"> 11 </option>
                    <option value="12"> 12 </option>
                  </select>
                  </span>
                </p>
              </div>
            </div>
            <!--   <div class="ht-st-two-box-item-third">

          </div> --> 
            
          </div>
        </div>
        <div class="ht-search-box-btn">
            <button type="submit" id="search-box-btn"><?php 
echo LANG::T('Search');
?>
</button>
         
        </div>
      </form>
    </div>
<script>
    $(document).ready(function()
    {
    	
        
	$( "#datepicker-in" ).datepicker({
                    showButtonPanel: true,
					defaultDate: "0w",
                    isRTL: true,
Esempio n. 6
0
                                 //chang inoice status
                                 $pd = new Paydoc();
                                 $invoice->submit($invc_num, $confirm['voucher'], $confirm['Reference']);
                                 $current_credit = $u->getcredit($_SESSION['user']['id'], $_SESSION['currency_unit']);
                                 $remain = $current_credit - $totalamont;
                                 if ($pd->Save($_SESSION['user']['id'], -1, $totalamont, $invc_num, $_SESSION['currency_unit'])) {
                                     $u->change_credit($_SESSION['user']['id'], $_SESSION['currency_unit'], $remain);
                                 }
                                 $ctrl->ShowReserve_info($confirm);
                             } else {
                                 $app = new AppController();
                                 $app->Erro('متاسفانه درتکمیل   فرآیند رزرو خطایی رخ داد');
                             }
                         } else {
                             $app = new AppController();
                             $app->Erro(LANG::T('Low Creadit'));
                         }
                     }
                 }
             } else {
                 $app = new AppController();
                 $app->Erro('متاسفانه در فرآیند رزرو خطایی رخ داد');
             }
             break;
     }
     break;
 case 'user':
     $usr = new UserController();
     switch ($action) {
         case 'login':
             if (isset($_SESSION['user']['id'])) {
Esempio n. 7
0
                <li><a href="index.php?controller=user&action=dashboard" <?php 
    if (isset($_GET['controller']) && $_GET['controller'] == 'user') {
        echo 'class="active-menu"';
    }
    ?>
><?php 
    echo LANG::T('User');
    ?>
</a></li>
                <li><a href="index.php?controller=report&action=list" <?php 
    if (isset($_GET['controller']) && $_GET['controller'] == 'report') {
        echo 'class="active-menu"';
    }
    ?>
 ><?php 
    echo LANG::T('Reports');
    ?>
</a></li>
                         <?php 
}
if ($_GET['action'] == 'avial' || $_GET['action'] == 'search') {
    ?>
                <li>
                    <select onchange="chg_currency($(this).val());">
                        <option value="IRR" <?php 
    if (isset($_SESSION['currency_unit']) && $_SESSION['currency_unit'] == 'IRR') {
        echo 'selected="selected"';
    }
    ?>
 >IRR</option>
<!--                        <option value="EUR" <?php 
Esempio n. 8
0
        <thead>
            <td><?php 
echo LANG::T('Voucher');
?>
</td>
            <td><?php 
echo LANG::T('Reference');
?>
</td>
        </thead>
        <tbody>
            <tr>
                <td><?php 
echo $voucher;
?>
</td>
            <td><?php 
echo $Reference;
?>
</td>
            </tr>
        </tbody>
    </table>
    <a href="index.php?controller=hotel&action=search">
    <button class="btn btn-success"><?php 
echo LANG::T('OK');
?>
</button>
    </a>
</div>
Esempio n. 9
0
?>
</label></span>
<!--                    <span><img style="width:100%" src="gohar/capthca/?"></span>-->
                    <span></span>
<!--                    <span><input type="text" name="captchaText" id="captchaText"  placeholder="Image No" required></span>-->
                    
                    <span></span>
                    <span>
                    <button name="login" class="btn  btn-primary btn-block grad2" style="height:30px" type="submit"><?php 
echo LANG::T('Sign in');
?>
</button>
                    </span>
                </form>
      				<span style="width:100%;text-align:center"><a href="images/sign.pdf" target="_blank"><?php 
echo LANG::T('signup Form');
?>
</a></span>
                </div>
      
      
        	</div>
        </div>
        <div class="col-md-8" align="center">
        <div style="max-width:500px;">
        
        <img src="images/slides/<?php 
echo $slide;
?>
" style="width:100%;height:270px;max-width:500px">
        </div>
Esempio n. 10
0
<?php 
//}
?>
<!--End Gallery-->
</head>

<body>
<div class="main-menu">
  <div class="inline-main-menu" id="inline-main-menu">
    <div class="head-time"><?php 
echo date("l , d , M , Y");
?>
</div>
    <div class="menu_container" >
        <?php 
echo LANG::T('Language');
?>
        <select onchange="chg_lang($(this).val());">
            <option value="en" <?php 
if (isset($_SESSION['lang']) && $_SESSION['lang'] == 'en') {
    echo 'selected="selected"';
}
?>
 >EN (English)</option>
            <option value="fa" <?php 
if (isset($_SESSION['lang']) && $_SESSION['lang'] == 'fa') {
    echo 'selected="selected"';
}
?>
 >FA (فارسی)</option>
        </select>