-
Posts
120 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Artjom
-
Thanks Nabeel for your Replay I've add your code into schedules_briefing.tpl but that isn't work <?php $time = explode(':', $schedule->deptime); $hour = $time[0]; $minute = $time[1]; ?>
-
I need to at VATSIM plan was already full, here is my link: <a class="post" href="http://www.vatsim.net/fp/?2=<?php echo $schedule->flightnum; ?>&3=<?php echo "{$schedule->aircraft}"; ?>&4=none&5=<?php echo "$schedule->depicao"; ?>&6=<?php echo "{$schedule->deptime}"; ?>&7=<?php echo "{$schedule->flightlevel}"; ?>&8=<?php if($schedule->route == ''){echo '<br />';}else{echo strtoupper($schedule->route);}?>&9=<?php echo "$schedule->arricao"; ?>&10a=HOURTIME&10b=HOURMINUTES&11=HERELINK& target="_blank">VATSIM</a>
-
I've a questions, how can I do 1. that's in the Briefing shows the firstname and lastname pilot?? 2. tahat's the time-not a single number 1:20 and the conclusions separately at first hours : minutes example: (<?php echo "{$schedule->deptimehours}"; ?>:<?php echo "{$schedule->deptimeseconds}"; ?>)
-
On Windows 7 64x doesn't work Configuration!
-
good job!! when is release?
-
I've a problem with "The module "MASSMAMILER" doesn't exist!" in Admin Center!!!
-
Before creating the post, use the search function! http://forum.phpvms.net/topic/2678-rotate-image-request/
- 1 reply
-
- 1
-
-
I've change the code please look into first post!Â
-
I'll wait for your feedback
-
Time rotate logo_night.png - Night logo (00:00 - 07:00) logo_morning.png - Morning logo (07:00 - 12:00) logo_day.png - Daily logo (12:00 - 19:00) logo_evening.png - Evening logo (19:00 - 00:00) This is code: <script type="text/javascript"> function shapka(n) {document.write('<img border="0" src="<?php echo SITE_URL?>/lib/skins/YOUR_SKIN_NAME/images/'+n+'.png">');} var h=(new Date()).getHours(); if (h > 23 || h <7) shapka('logo_night'); if (h > 6 && h < 12) shapka('logo_morning'); if (h > 11 && h < 19) shapka('logo_day'); if (h > 18 && h < 24) shapka('logo_evening'); </script>
-
Sorry for double post!
-
I have 2 scripts rotation, one works at the time were taken: 1.gif - Night logo (00:00 - 07:00) 2.gif - Morning logo (07:00 - 12:00) 3.gif - daily logo (12:00 - 19:00) 4.gif - Evening logo (19:00 - 00:00) and the other rotates, logo and extradite him gently, and not just appeared ... evening ladies script!
-
Last Location in Badge Tested on phpvms 2.1 (940) IT DOESN'T WILL WORK IF YOU DIDN'T SEND PIREP! core\common\PilotData.class.php 1. After (LINE 956) $pilot = self::getPilotData($pilotid); add this code $last_location = PIREPData::getLastReports($pilotid, 1, PIREP_ACCEPTED); 2. After  (LINE 974) $output[] = 'Total Hours: ' . $totalhours; add this code $output[] = 'Last Location: ' . $last_location->arricao; Download: PilotData.class.php Should look like this: 1.     $pilot = self::getPilotData($pilotid);     $last_location = PIREPData::getLastReports($pilotid, 1, PIREP_ACCEPTED);     $pilotcode = self::getPilotCode($pilot->code, $pilot->pilotid); 2.       $output[] = $pilotcode.' '. $pilot->firstname.' '.$pilot->lastname;       $output[] = $pilot->rank.', '.$pilot->hub;       $output[] = 'Total Flights: ' . $pilot->totalflights;       $output[] = 'Total Hours: ' . $totalhours;      $output[] = 'Last Location: ' . $last_location->arricao;
-
I've solved this problem! To change the name Schedules to your language or any other module you need to add this code: core\modules\Schedules\Schedules.php(line: 19-20) class Schedules extends CodonModule { public $title = 'Name of your page'; //It was added public function index()
-
I want to change the title to the Russian language, in which file can I change this? I was looking but never found! Schedules - KD Avia Profile - KD Avia Thanks!
-
Nabeel Please try, I think that all Russian and Ukrainian people you will be grateful
-
Nabeel, you could not solve the problem with Russian language! atoms as I had not suffered all of any problems, ask for help
-
hi, this code is not working, pilots can't write names in Russian language (gives characters example: Артём Антипов), the download page has the same problem with Russian does not understand and the Sceudules page has the same problem with Russian ...
-
At a very good idea, let's try to create such a module, I have been to do something on the similarity but I have not come, it rouses very convenient in that there is no need to be created for each separate type of aircraft flight, I visited this code,but it does not work, can some one can modify admin/templates/ops_scheduleform.tpl Repace this code: (Line 125) <select name="aircraft"> <?php foreach($allaircraft as $aircraft) { if($aircraft->registration == $schedule->registration) $sel = 'selected'; else $sel = ''; echo '<option value="'.$aircraft->id.'" '.$sel.'>'.$aircraft->name.' ('.$aircraft->registration.')</option>'; } ?> </select> To this code: <?php foreach($allaircraft as $aircraft) { if($aircraft->registration == $schedule->registration) $sel = 'selected'; else $sel = ''; echo '<input name="aircraft" type="checkbox" value="'.$aircraft->id.'" '.$sel.'>'.$aircraft->name.' ('.$aircraft->registration.')<br>'; } ?> And you get in this form (but how to keep two aircraft about the trip has not been done, can anyone ever be able to help us in this issue?)
-
Thanks!
-
Who can I download atached file?
-
Thanks! Excelent script!
-
And I realized that the script will not lay out on this resource Thanks Tom!
-
I also need these files too