Jump to content

Tameem

Members
  • Posts

    47
  • Joined

  • Last visited

Posts posted by Tameem

  1. it's css work.

    all what you need to do is to style the div.

    for example:

    CSS:
    body{
     margin:0;
     padding:0;
     background-color:#ccc;
    }
    .content{
     width:400px;
     padding:50px;
     text-align:center;
     margin:10px auto 10px auto;
     background-color:#fff;
     border:10px solid #ddd;
     border-radius:10px
    }
    
    Html:
    <div class="content">
     Content Content Content Content Content Content</br>
     Content Content Content Content Content Content</br>
     Content Content Content Content Content Content</br>
     Content Content Content Content Content Content</br>
     Content Content Content Content Content Content</br>
     Content Content Content Content Content Content</br>
     Content Content Content Content Content Content</br>
    Content Content Content Content Content Content</br>
     Content Content Content Content Content Content</br>
     Content Content Content Content Content Content</br>
    </div>
    

    and here is a working example:http://cssdeck.com/labs/muck3iit

  2. Hi,

    Do anyone knows how to show a financial report for the last three month with chart like the example below?

    Z0kCYX6.png

    The problem is when every time i call this template (finance_balancesheet.tpl) at the pilot room it returns blank.

  3. Hi Guys,

    Happy New Year.

    I Have A Problem With My Bids Template.

    When I Add A Bid I Can See It In /index.php/schedules/bids.

    But In Pilot Room It Don't Show Me Anything

    When I Add The Template Within The Page.

    <?php Template::Show('schedule_bids.tpl'); ?>
    

  4. Hi.

    i'm using Flight Booking System_V1.0 on my va but i have a problem which is when i click add bid it redirect me to another page and displays "No route passed" .

    i tried all topics in this forum but no one solved my problem.

    BTW i'm using Bootstrap only.

  5. I tried http://angularjs.org with this code

    Angular.js

    var app = angular.module( "myApp", [] );
    app.config( function ( $routeProvider ) {
    $routeProvider
    .when( '/this', { templateUrl: 'this.html' } )
    .when( '/that', { templateUrl: 'that.html' } )
    .when( '/other', { templateUrl: 'other.html' } )
    .otherwise( { redirectTo: '/this' } );
    });
    app.controller( 'MainCtrl', function ( $scope ) {
    });
    

    <script type="text/ng-template" id="this.html">
    This Page.
    </script>
    <script type="text/ng-template" id="that.html">
    That Page.
    </script>
    <script type="text/ng-template" id="other.html">
    Other Page.
    </script>
    <div ng-controller="MainCtrl">
    <ul>
    <li><a href="#/this">This</a></li>
    <li><a href="#/that">That</a></li>
    <li><a href="#/other">Other</a></li>
    </ul>
    <ng-view></ng-view>
    </div>
    

    http://jsfiddle.net/joshdmiller/NEuJ6/

    but it keeps give me errors

    i placed the code above in profile_main.tpl

    and the supporting libraries in layout.tpl

  6. Hi Everyone.

    I need Some help.

    I'm trying to make a vertical navigation menu with links like the example below:

    but i want from example links to be shown in the box.

    for example (book your flight) when someone clicks the link it load directly into the box without reloading the page.

    links.pngAnd thank you.

  7. Using echo to show that data is not going to work, you need to use the method described in the instructions as you have started to do in the post above.

    Have you installed the sql file?

    Is there any data in the table?

    Does the VA have any flights for the current month?

    Thank you soooooooo much

    this code worked

    <?php
    $month = date("m");
    $year = date("Y");
    $pilot = TopPilotData::top_pilot_hours($month, $year, 5);
    foreach ($pilot as $top) {
        $pilot = PilotData::GetPilotData($top->pilot_id);
        echo '<tr>';
        echo '<td>'.$pilot->firstname.' '.$pilot->lastname.' - '.PilotData::GetPilotCode($pilot->code, $pilot->pilotid).'</td>';
        echo '<td>'.$top->hours.'</td>';
        echo '</tr>';
       }
    ?>
    

    • Like 1
  8. First thank you Simpilot.

    I think that The sql file isn't installed probably.

    also please can u give me the method that pulls the records.

    and the foreach gives me invalid argument supplied for foreach()

    So please i want the argument supplies for the foreach loop

×
×
  • Create New...