Jump to content

ARV187

Members
  • Posts

    261
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by ARV187

  1. In my server can play flash: a default html page from template package: http://sparkadsl.0lx...ash_slider.html , youtube & vimeo videos. http://sparkadsl.0lx...tribAyrton.html My file directory contain: /htdocs/phpvms/lib/skins/templatemo_254_agency/js/swfobject.js http://sparkadsl.0lx..._254_agency/js/ P.D: too i uploaded it here http://sparkadsl.0lx.net/phpvms/lib/js/swfobject.js And this contain this : I go try in principal directory and i say you, may be that the fail....
  2. I have a problem with frontpage, swf not work. You can see the test page here: http://sparkadsl.0lx.net/phpvms/ I dont have idea about this question, I would appreciate someone help me please. Frontpage_main.tpl
  3. I finish it! but i have trouble with slider flash images. I need help, but i go to open other post to see if this way anyone can help me. To clear somethings to newbies: Im not a expert, i learn since cero. You have two files in front page (index.html), the index.html is in blank, because in that page the phpvms show this two files: layout tpl & frontpage_main.tpl Layout.tpl show header and footer in all pages, is this: top banner or company logo, menus, & credits at final of page. frontpage_main.tpl modify the content of frontpage (index.html page) this is news, recent pilots pireps, recent new pilots, and other that you want put in. And by last you have the xxxxxxxxxx_style.css this put the form, color, and position of all web site. Have the <id> tag names and your especifications. you can add a <id> tag with properties, and after link it with a <id> tag in your frontmain_page.tpl or other template. For example <id= "live_table"> </id> In xxxxxxxxxxx_styles.css: #live_table I recommend "firebug" to learn in live about styles.css and a editor web with grafical interface & code in same site to see the changes.
  4. This code is right? not work to me. <div id="mainbox"> <?php // Show the News module, call the function ShowNewsFront // This is in the modules/Frontpage folder MainController::Run('News', 'ShowNewsFront', 5); ?> <script type="text/javascript" src="js/swfobject.js"></script> <script type="text/javascript"> var flashvars = {}; flashvars.xml_file = "photo_list.xml"; var params = {}; params.wmode = "transparent"; var attributes = {}; attributes.id = "slider"; swfobject.embedSWF("flash_slider.swf", "flash_grid_slider", "930", "250", "9.0.0", false, flashvars, params, attributes); </script> <body> <div id="templatemo_banner_wrapper"> <div id="templatemo_banner"> <div id="flash_grid_slider"> <a href="http://www.flashmo.com/preview/flashmo_224_grid_slider" target="_blank"> Flash XML Grid Slider </a> <br /><br /> <a href="http://www.adobe.com/go/getflashplayer"> <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /> </a> </div> </div> </div> </body> </div> <div id="sidebar">
  5. Slider flash not work,Definitely i dont know where put it. layout.tpl frontpage_main.tpl
  6. I have a problem, in dreamweaver the slider work, but not in web page, in adition the page is in line, main menu, not lateral panel of last pireps, etc. I only modified layout.tpl ¿Any idea? In dreamweaver: In web page: P.D: Im changin relatives urls by absolutes. but the linear menus... i dont know the cause of that.
  7. Finally im fighting with default layout.tpl and copying the templatemo index.htm code.
  8. I find a simple code in this forum to live traffic table, and where add gif images, but i still need help to customice the phpvms. I have read that files to edit are layout.tpl & frontpage_main.tpl, want apply this template: http://www.templatemo.com/preview/templatemo_254_agency But i dont know what steps i have to follow. Im editing index.html of template following the default phpvms layout.tpl, and after i will renamed it how layout.tpl, but i dont know if is rigth, or how hell make it. I want make it by my self, and i dont want pay to others, i want learn, only need help with steps to follow. Thanks again & regards
  9. 27 views and not answers? i have much post with not answers, only parkho answer me to one, im sad... If is by my bad english im sorry. I have the table ready, but i want make a principal page, with table, image slider, etc, etc, but i dont know yet which file i should edit. And i have a trouble, my server is banned by google adsenses, so i dont kwon if i can make a principal page in a adsense compatible site and that live table work in a diferent site of installation or how make that.
  10. Hi again, i saw this table: http://www.italianiv...t/iv/index.php/ Live Flight Information, i love it! How i can made it? Another doubt is what is the template or php file to change the index page? i want custom it, the index.php isn't i think, so what is? may be front_page.php? Thanks you very much to yours future answers!
  11. I deleted my database from phpmyadmin and now is showing the schedules, but not airports in admin page.
  12. Sorry Parkho, i dont see this answer, my virtual airline boss said me return to normal phpvms and work. Anyway i think that there entry wasn't duplicated, could be another issue? P.D: really what is phpvms extended? is a underground versión? not is the same that official, why?
  13. The flights operates all days, in normal web page and normal database (not test web & DB) all work. Anyway, in admin/index.php/operations/schedules is where dont show. I can add bid how a normal pilot, etc. but schedules & airports not is showing in /admin/schedules & airports page.
  14. I have the same problem in a web & database to make test apart of original web, i imported all files with ftp and DB from phpmyadmin, all work well, local.config was changed correctly, but in admin panel, airports & schedules routes not show, as if they did not exist, but they are in Database, in phpmyadmin.
  15. Hi, normally we have this errors in log file, how i can fix it? thanks!
  16. How i can center the map correctly? Is displaced: Thanks!!
  17. Hi Parkho, I did that, created with notepad of windows with the first code, and after rename it as "GetSchedules.class.php" (extension included), after i uploaded to core/common folder via ftp. The table was created in admin options "Add new page". i think i did something wrong. this is the result: http://www.argavirtual.xtrweb.com/pruebas/index.php/pages/schedules2
  18. Hi, i updated the phpvms to phpvms_extended (sqli i think and more options), https://github.com/D...ab=repositories i follow the steps : But not work, a "student" or "new hired" pilot can see all routes, inclusive the routes (schedules) of commander rank. Regards. Please, i only did two questions in this forum (this is the third) nobody answer my questions.
  19. Hi, i dont understand the install instrucctions, Can someone help me please? I make a .txt, paste the code and after change de .txt extension by .php extension, after i copy the code in a new page, in phpvms, and up the file .php that i did in hosting, but i have a error. http://www.argavirtual.xtrweb.com/core/modules/Schedules/Schedules%20board.php Fatal error: Class 'DB' not found in /home/u131375289/public_html/core/modules/Schedules/Schedules board.php on line 3 <?php $query = "SELECT * FROM phpvms_schedules ORDER BY arrtime + 0 ASC"; $list = DB::get_results($query); echo '<h3>Upcoming Arrivals - Current Time is '.date('G:i').'</h3>'; echo '<table width="100%" border="1">'; echo '<tr><td>Departure</td><td>Arrival</td><td>Arrival Time</td><td>Aircraft</td><td>Status</td></tr>'; $count = 0; foreach($list as $flight) { if(($flight->arrtime + 0) > date('G:i')) { if($count < 5) { $aircraft = OperationsData::getAircraftInfo($flight->aircraft); echo '<tr><td>'.$flight->depicao.'</td><td>'.$flight->arricao.'</td><td>'.$flight->arrtime.'</td><td>'.$aircraft->fullname.'</td>'; echo '<td>'; if(($flight->arrtime - date('G:i')) <= 1) { echo 'Arriving Soon'; } else { echo 'In Flight'; } echo '</td></tr>'; $count++; } } } echo '</table>'; ?>
  20. Hi, i updated the phpvms to phpvms_extended (sqli i think and more options), https://github.com/DavidJClark?tab=repositories i follow the steps : But not work, a "student" or "new hired" pilot can see all routes, inclusive the routes (schedules) of commander rank. Regards.
×
×
  • Create New...