Jump to content

FiveStar

Members
  • Posts

    86
  • Joined

  • Last visited

Posts posted by FiveStar

  1. Hi Guys need help in brilliance Skin same question i also have can we change the width of the page in brilliance skin because the current width did not fit correctly or if there is any way of removing side menu from brilliance skin so we have full page to display our modules?

    Awaiting for someone to come up with proper guidance and solution.. :)

    Regards

    Asmara

  2. hey jeff good day to you i have visited on the given link but there also i cannot see any image on the table but any way i have sorted out how it will work this code you will be needed to show an airline image or your web logo>>>>>

    <h2>Recent Completed Flights Board</h2>
    <?php
    $count = 10;
    $pireps = PIREPData::getRecentReportsByCount($count);
    ?>
    
    <table id="tabledlist" class="tablesorter" width="100%">
    <thead>
    <tr>
    
    <th height="20" width="15%"><div align="center">Flt/Number</th></div>
    <th height="20" width="13%"><div align="center">Departure</th></div>
    <th height="20" width="13%"><div align="center">Arrival</th></div>
    <th height="20" width="20%"><div align="center">Aircraft</th></div>
    <th height="20" width="15%"><div align="center">Flight Time</th></div>
    <th height="20" width="12%"><div align="center">Pilot Name</th></div>
    <th height="20" width="12%"><div align="center">Landing Rate</th></div>
    <th height="20" width="15%"><div align="center">Airline</th></div>
    </tr>
    </thead>
    <tbody>
    
    <?php
    foreach($pireps as $pirep)
    {
    $pilotinfo = PilotData::getPilotData($pirep->pilotid);
       $pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid);
    
    ?>
    <tr bgcolor="#D0F5A9">
    <td align="center">	
    <a href="<?php echo url('/pireps/view/'.$pirep->pirepid);?>"><?php echo $pirep->code . $pirep->flightnum; ?></a>
    </td>
    <td height="25" width="15%" align="center"><span><?php echo $pirep->depicao; ?></td></span>
    <td height="25" width="13%" align="center"><span><?php echo $pirep->arricao; ?></td></span>
    <td height="25" width="13%" align="center"><span><?php echo $pirep->aircraft . " ($pirep->registration)"; ?></td></span>
    <td height="25" width="13%"align="center"><span><?php echo $pirep->flighttime; ?></td></span>
    <td height="25" width="13%" align="center"><span><?php echo $pilotinfo->firstname . ' ' . $pilotinfo->lastname; ?></td></span>
    <td height="20" width="10%" align="center"><span><?php echo $pirep->landingrate; ?></td></span>
    <td align="center">
    	<?php
    
    	if($pirep->accepted == PIREP_ACCEPTED){
    		echo '<img src="'.SITE_URL.'/lib/skins/'.CURRENT_SKIN.'/images/YOUR IMAGE" border="0" alt=""/>';
               }
    	elseif($pirep->accepted == PIREP_REJECTED)
    		echo '<img src="'.SITE_URL.'/lib/skins/'.CURRENT_SKIN.'/images/YOUR IMAGE" border="0"  alt=""/>';
    	elseif($pirep->accepted == PIREP_PENDING)
    		echo '<img src="'.SITE_URL.'/lib/skins/'.CURRENT_SKIN.'/images/YOUR IMAGE" border="0"  alt=""/>';
    	elseif($pirep->accepted == PIREP_INPROGRESS)
    		echo '<img src="'.SITE_URL.'/lib/skins/'.CURRENT_SKIN.'/images/YOUR IMAGE" border="0"  alt=""/>';
    	?>
    </td>
    </tr>
    <?php
    }
    ?>
    </tbody>
    </table>
    

    and please remember to put images in your current skin images directoy http://sitename.com/lib/SKIN/images/Image NAME

    i hope it works for you the same code is working for me..... ;)

  3. Nabeel i have uploaded the Full Folder now and when i was checking install. it was giving me this Error

    [Checksum failed] /core/common/Auth.class.php did not match, possibly corrupt or out of date
    [Checksum failed] /core/templates/schedule_results.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /core/templates/profile_edit.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /core/templates/frontpage_reports.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /core/templates/flown_routes_map.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /core/templates/schedule_searchform.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /core/templates/pirep_new.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /core/templates/pilots_list.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /core/templates/pilot_public_profile.tpl did not match, possibly corrupt or out of date
    [Checksum failed] /core/modules/Schedules/Schedules.php did not match, possibly corrupt or out of date
    [Checksum failed] /core/modules/Contact/Contact.php did not match, possibly corrupt or out of date
    [Checksum failed] /core/modules/Registration/Registration.php did not match, possibly corrupt or out of date
    [Checksum failed] /core/modules/Pilots/Pilots.php did not match, possibly corrupt or out of date
    [Checksum failed] /core/modules/ACARS/ACARS.php did not match, possibly corrupt or out of date
    [Checksum failed] /core/modules/Logout/Logout.php did not match, possibly corrupt or out of date
    [Checksum failed] /core/modules/Login/Login.php did not match, possibly corrupt or out of date

    what i should do now?

    check this

    http://www.vpia.org/VirtualPIA/install/checkinstall.php

    and when trying to login it gives this message

    Unconfirmed

    Sorry! Your registration has not yet been checked by an administrator. Please try again later. You will receive an email when your registration has been accepted

    This Folder uploaded nshahzad-phpVMS-1f79026.zip

  4. Hi i have a problem with my admin panel when i accepts pireps it shows this error to me

    Warning: imagettfbbox() [function.imagettfbbox]: Could not read font in /home/ahmad/public_html/VirtualPIA/core/common/PilotData.class.php on line 955
    
    Warning: imagettftext() [function.imagettftext]: Could not read font in /home/ahmad/public_html/VirtualPIA/core/common/PilotData.class.php on line 969
    
    Warning: imagettftext() [function.imagettftext]: Could not read font in /home/ahmad/public_html/VirtualPIA/core/common/PilotData.class.php on line 969
    
    Warning: imagettftext() [function.imagettftext]: Could not read font in /home/ahmad/public_html/VirtualPIA/core/common/PilotData.class.php on line 969
    
    Warning: imagettftext() [function.imagettftext]: Could not read font in /home/ahmad/public_html/VirtualPIA/core/common/PilotData.class.php on line 969
    
    Warning: imagettftext() [function.imagettftext]: Could not read font in /home/ahmad/public_html/VirtualPIA/core/common/PilotData.class.php on line 969

    Please help...........

  5. hi there i have a problem with this function i just checked i have created one fake account and tried there but nothing happening i tried all of the options when i banned my fake account it was still letting me Log in and also not changing Status Re checked all of my files each & every code is there but still no luck any help would be appreciated.

    Regards

    Asmara

  6. hi simpilot i have a little query for you regarding PopUpNews i wanted to place a table on my front page where my PopupNews will show or either i can put it in Pilot center but the problem is it wont allowing me to place an table with header when i try to put an table this happens

    IMAGE REMOVED

    Now you can notice in Pic that table is all messed up and most importantly it was showing Title for every news item in every Row it was appearing i only want normal title on the Header Area and than my news items under the table box..........

    this code i was using currently

    <?php
    //simpilotgroup addon module for phpVMS virtual airline system
    //
    //simpilotgroup addon modules are licenced under the following license:
    //Creative Commons Attribution Non-commercial Share Alike (by-nc-sa)
    //To view full icense text visit http://creativecommons.org/licenses/by-nc-sa/3.0/
    //
    //@author David Clark (simpilot)
    //@copyright Copyright (c) 2009-2010, David Clark
    //@license http://creativecommons.org/licenses/by-nc-sa/3.0/
    ?>
    <style type="text/css">
    #customers
    {
    font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
    width:100%;
    border-collapse:collapse;
    }
    #customers td, #customers th 
    {
    font-size:1em;
    border:1px solid #98bf21;
    padding:3px 7px 2px 7px;
    }
    #customers th 
    {
    font-size:1.1em;
    text-align:left;
    padding-top:5px;
    padding-bottom:4px;
    background-color:#A7C942;
    color:#ffffff;
    }
    #customers tr.alt td 
    {
    color:#000000;
    background-color:#EAF2D3;
    }
    </style>
    <table id="customers" class="tablesorter">
    <th>Important Updates & News</th>
    <tbody>
    <tr class="alt">
    <td align="center">
    <a href="<?php echo SITE_URL ?>/index.php/PopUpNews/popupnewsitem/?itemid=<?php echo $id;?>"><b><u><?php echo $subject;?></b></u></a><br>
    <?php echo $postdate;?>
    </tbody>
    
    </table>
    
    

    Awaiting you....... :)

  7. Hi Jeff thanks for you reply and suggestion but you might not understand or the way i explained is not proper explanatory.

    Now exactly the problem is this file which i attached before is from my Old VA system and my OLD VA is still in operations i don't wanted this Old schedule file to upload in PHPVMS i know about phpvms Schedule uploading procedure mainly i want to know that my old VA don't have CSV uploading system so i wanted to update my ATR schedules so i thought maybe i download it directly from Database in CSV format and make changes and than Reupload them in in my OLD VA Database & SYSTEM not in phpvms.

    hope you understand now.....

×
×
  • Create New...