-
Posts
120 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Artjom
-
-
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!!!
-
Hey guys!
I'm not sure how to do the header ramdom change, like a user goes to my site the header picture is changed, then another user goes on my site and the header picture is different. How do i do that. Thanks
Before creating the post, use the search function!
- 1
-
i need delet the line 957 for put the new code or juts paste on this line?
I've change the code please look into first post!Â
- 1
-
-
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!
-
Hello, i request any php now
well i have more one images, and i put 3,4 or more images in my header logo, bat i need a rotate code to make this. Similar a flash.
Where is cod of my header logo
i want put more one images rotate in this part.
Thanks
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:Â
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;
- 1
-
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?)
-
The module is really not in use since the release of version 2.0 as the function is built into the fsacars module and deposits the stat in the database. I am not sure if the function is working with kACARS, but if it is not it probably would not be a big deal to adjust it. it is just a matter of extracting the info from the database and displaying it as you wish.
Thanks!
-
Who can I download atached file?
-
@ ARTJOM - Not sure what you mean, the script wwas reposted with an included license....
@ Tom - You are correct, but after watching one individual start to sell a script he was not totally responsible for writing, and then also want to charge to install it I figured it was just a matter of time. I want everyone to be able to use the work I am responsible for, not just the ones that have a few dollars to spend. I realize there is always going to be someone that uses other peoples work in a way that may not be proper, I believe adding the license gets me closer to my goal. I hope you understand.
Thanks! Excelent script!
-
As with some other addons, TopPilot has been temporarily taken down to add a license. It'll be back shortly.
And I realized that the script will not lay out on this resource
Thanks Tom!
-
I also need these files too
-
This is bad, I just do not understand why others sell these scripts, and because of them we now can not download this module, bad bad bad
-
It has not been down for four weeks, but it has been reposted with a license inclued. The script can not be sold or profited from in any way, this includes charging someone to install it for them.
how long they can be downloaded?
Briefing
in Support Forum
Posted
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}"; ?>)