pedrobrandine Posted September 6, 2015 Report Posted September 6, 2015 Hello help me? I'm having trouble because my phpvms not this show the information in pafina / index / profile I already tried the tutotial (Getting variables in templates) more will not Tutorial:(http://forum.phpvms.net/page/index.html/_/skinning-and-customization-guides/getting-variables-in-templates-r34) <!DOCTYPE html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link href="<?php echo SITE_URL?>/lib/skins/flytam/style.css" rel="stylesheet" media="all" /> <?php /*Any custom Javascript should be placed below this line, after the above call */ ?> <title>..::.. D.O Fly Tam Virtual 1.0 ..::..</title> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/flytam/css/style.default.css" type="text/css" /> <link rel="stylesheet" href="<?php echo SITE_URL?>/lib/skins/flytam/prettify/prettify.css" type="text/css" /> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/flytam/prettify/prettify.js"></script> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/flytam/js/jquery-1.9.1.min.js"></script> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/flytam/js/jquery-migrate-1.1.1.min.js"></script> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/flytam/js/jquery-ui-1.9.2.min.js"></script> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/flytam/js/jquery.flot.min.js"></script> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/flytam/js/jquery.flot.resize.min.js"></script> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/flytam/js/bootstrap.min.js"></script> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/flytam/js/modernizr.min.js"></script> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/flytam/js/detectizr.min.js"></script> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/flytam/js/jquery.cookie.js"></script> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/flytam/js/custom.js"></script> <!--[if lte IE 8]><script language="javascript" type="text/javascript" src="js/excanvas.min.js"></script><![endif]--> <script type="text/javascript"> function MM_goToURL() { //v3.0 var i, args=MM_goToURL.arguments; document.MM_returnValue = false; for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'"); } function MM_popupMsg(msg) { //v1.0 alert(msg); } </script> <?php echo $page_htmlreq; ?> <?php echo $page_htmlhead; ?> </head> <body> <div class="mainwrapper"> <!-- START OF LEFT PANEL --> <div class="leftpanel"> <div class="logopanel"> <h1></h1> <h1></h1> <h1><img src="<?php echo SITE_URL?>/lib/skins/flytam/img/logo.png" width="130" height="30"></h1> <p></p> <p></p> </div><!--logopanel--> <div class="datewidget">Today is Tuesday, Dec 25, 2012 5:30pm</div> <div class="searchwidget"> <form action="http://demo.themepixels.com/webpage/katniss/results.html" method="post"> <div class="input-append"> <input type="text" class="span2 search-query" placeholder="Search here..."> <button type="submit" class="btn"><span class="icon-search"></span></button> </div> </form> </div><!--searchwidget--> <!--plainwidget--> <div class="leftmenu"> <ul class="nav nav-tabs nav-stacked"> <li class="nav-header">Menu</li> <li class="active"><a href="dashboard.html"><span class="icon-home"></span> Home</a></li> <li class="dropdown"><a href="#"><span class="icon-user"></span>Opções de Perfil</a> <ul> <li><a href="<?php echo url('/profile/editprofile'); ?>">Editar Minha Conta</a></li> <li><a href="bootstrap.html">Alterar minha senha</a></li> <li><a href="bootstrap.html">Ver o meu crachá</a></li> </ul> </li> <li class="dropdown"><a href="#"><span class="icon-plane"></span> Operações de Voo</a> <ul> <li><a href="elements.html">Meus PIREPs</a></li> <li><a href="bootstrap.html">Escalas de Voo</a></li> <li><a href="bootstrap.html">Ver meus lances de vôo</a></li> </ul> </li> <li class="dropdown"><a href="#"><span class="icon-book"></span> Exames</a> <ul> <li><a href="table-static.html">Meus Exames</a></li> <li><a href="#" onclick="MM_popupMsg('..::.. Em Breve ..::...')">Academia Fly TAMv</a></li> </ul> </li> <li class="dropdown"><a href="#"><span class="icon-download-alt"></span> Downloads</a> <ul> <li><a href="elements.html">FSacars Fly TAMv</a></li> <li><a href="bootstrap.html">ACARS Config</a></li> </ul> </li> <li class="dropdown"><a href="#"><span class="icon-eye-open"></span>Outros</a> <ul> <li><a href="elements.html">Meus prêmios</a></li> <li><a href="bootstrap.html">Eventos</a></li> </ul> </li> </div><!--leftmenu--> </div><!--mainleft--> <!-- END OF LEFT PANEL --> <!-- START OF RIGHT PANEL --> <div class="rightpanel"> <div class="headerpanel"> <a href="#" class="showmenu"></a> <div class="headerright"> <div class="dropdown notification" onfocus="MM_goToURL('parent','http://flytamvirtual.com/');return document.MM_returnValue"> <a class="dropdown-toggle" data-toggle="dropdown" href="http://flytamvirtual.com/"> <span class="iconsweets-globe iconsweets-white"></span> </a> </ul> </div><!--dropdown--> <div class="dropdown userinfo"> <a class="dropdown-toggle" data-toggle="dropdown" data-target="#" href="http://demo.themepixels.com/page.html">Piloto Nome<b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="editprofile.html"><span class="icon-edit"></span>Editar Perfil</a></li> <li><a href="<?php echo url('/logout'); ?>"><span class="icon-off"></span> Sign Out</a></li> </ul> </div><!--dropdown--> </div><!--headerright--> </div><!--headerpanel--> <div class="breadcrumbwidget"> <!--skins--> <ul class="breadcrumb"> <li><a href="dashboard.html">Home</a> <span class="divider">/</span></li> <li class="active">Dashboard</li> </ul> </div><!--breadcrumbwidget--> <div class="pagetitle"> <h1>Home</h1> <span>www.flytamvirtual.com | D.O Version 1.0 </span> </div><!--pagetitle--> <div class="maincontent"> <div class="contentinner content-dashboard"> <div class="alert alert-info"> <button type="button" class="close" data-dismiss="alert">×</button> <strong>Welcome</strong><?php echo $userinfo->rank;?> <?php echo $userinfo->firstname . ' ' . $userinfo->lastname; ?>! </div><!--alert--> <div class="row-fluid"> <div class="span8"> <ul class="widgeticons row-fluid"> <li class="one_fifth"><a href="#"><img src="<?php echo SITE_URL?>/lib/skins/flytam/img/gemicon/calendar.png" alt="" /><span>Eventos</span></a></li> <li class="one_fifth last"><a href="#"><img src="<?php echo SITE_URL?>/lib/skins/flytam/img/gemicon/notify.png" alt="" /><span>Escala de Voos</span></a></li> <li class="one_fifth"><a href="#"><img src="<?php echo SITE_URL?>/lib/skins/flytam/img/gemicon/edit.png" alt="" /><span>Editar Perfil</span></a></li> <li class="one_fifth"><a href="#"><img src="<?php echo SITE_URL?>/lib/skins/flytam/img/gemicon/users.png" alt="" /><span>Academia TAMv</span></a></li> <li class="one_fifth last"><a href="#"><img src="<?php echo SITE_URL?>/lib/skins/flytam/img/gemicon/mail.png" alt="" /><span>Contato</span></a><br /> </li> </ul> <h4 class="widgettitle nomargin shadowed">Meus Dados</h4> <div class="widgetcontent bordered shadowed"> <table width="100%" border="0" cellspacing="2" cellpadding="2" class="ocean_table"> <thead> <th width="25%">Name</font></b></th> <td width="25%"><?php echo $userinfo->firstname . ' ' . $userinfo->lastname; ?></td> <th width="25%">Hours</font></b></th> <td width="25%"><?php echo Util::AddTime($userinfo->totalhours, $userinfo->transferhours); ?></td> </tr> <tr> <th width="25%">Pilot ID</font></b></th> <td width="25%"><?php echo $pilotcode ?></td> <th width="25%">Flights</font></b></th> <td width="25%"><?php echo $userinfo->totalflights?></td> </tr> <tr> <th width="25%">Rank</font></b></th> <td width="25%"><?php echo $userinfo->rank;?></td> <th width="25%">Last Flight</font></b></th> <td width="25%"><?php if ($userinfo->lastpirep == '0000-00-00 00:00:00') { echo 'There are no flights!'; } else { $datebefore1 = substr($userinfo->lastpirep, 0, 10); $datetoday2 = date("Y-m-d"); $datebefore3 = strtotime($datebefore1); $datetoday4 = strtotime($datetoday2); $newdate = $datetoday4-$datebefore3; $lastpirep = floor($newdate/(60*60*24)); echo ' '; if ($lastpirep == 0) { echo 'Today'; } else if ($lastpirep == 1) { echo 'Yesterday'; } else { echo $lastpirep . ' Days ago'; } } ?></td> </tr> <tr> <th width="25%">Hire Date:</font></b></th> <td width="25%"><?php echo date('m/d/Y', strtotime($userinfo->joindate));?></td> <th width="25%">Last Flight Date</font></b></th> <td width="25%"><?php echo date('m/d/Y', strtotime($userinfo->lastpirep));?></td> </tr> </thead> </tbody> </table> </div><!--widgetcontent--><!--widgetcontent--> </div><!--span8--> <div class="span4"> <h4 class="widgettitle nomargin">Notas Staff</h4> <div class="widgetcontent bordered"> Nehuma nota registrada no momento. !! </div><!--widgetcontent--><!--widgetcontent--><!--widgetcontent--> <div class="widgetcontent"> <div id="accordion" class="accordion"> <h3><a href="https://www.google.com.br/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=0CCMQFjABahUKEwi-zs2Sid_HAhWDhZAKHam5B_8&url=https%3A%2F%2Fwww.passeidireto.com%2Ffaq&usg=AFQjCNF1oICKzN7m6R7eQhUw8mFmxzC7DA&sig2=wI1mipHcqycFohm8AXVvFw" onmousedown="return rwt(this,'','','','2','AFQjCNF1oICKzN7m6R7eQhUw8mFmxzC7DA','wI1mipHcqycFohm8AXVvFw','0CCMQFjABahUKEwi-zs2Sid_HAhWDhZAKHam5B_8','','',event)" data-href="https://www.passeidireto.com/faq">FAQ - D.O 1.0 Beta</a></h3> <div> <p> Nota: Esse despacho esta em fase de teste ou seja estamos liberando uma versão beta 1.0 para nossos tripulantes provavelmente você pode se deparar com bugs do sistema. ! </p> </div> <h3><a href="#">Como conectar meu (FSX) na TAMv</a></h3> <div> <p> A Fly TAMv esta disponibilizando nosso software gratuitamente sendo que uma vez o piloto homologado na companhia poderá efectuar o download e usufruir à -vontade. !! </p> </div> <h3><a href="#">Os Exames são pagos ?</a></h3> <div> <p> Sim os exames são pagos com (FLY Money) ou seja um dinheiro virtual ! a fly tam virtual não tem como objetivo obter lucro ou fins lucrativos ! </p> </div> <h3><a href="#">Cadastro na IVAO/VATSIM é obrigado ?</a></h3> <div> <p> Sim a fly tam virtual tem como objetivo trazer a simulação totalmente realista , sendo que nos termos/conduta de cadastro onde o tripulante concorda de livre e espontânea vontade que diz assim: </p> <p>Prevendo que na regra de Nº 29.1-0, Todos os Tripulantes sendo eles como <span onmouseover="javascript:window.frames.FSG_sugestoesIFrame.__FSGCALLER1Check.sHL(this,'eL_1',false,'sintatico#;$1#;$1#;$2#|$[piloto,]#;$')" onmouseout="javascript:window.frames.FSG_sugestoesIFrame.__FSGCALLER1Check.sHL(this,'eL_1',true)" id="eL_1_texto">piloto ,</span> <span onmouseover="javascript:window.frames.FSG_sugestoesIFrame.__FSGCALLER1Check.sHL(this,'eL_2',false,'sintatico#;$1#;$2#;$2#|$[membros,]#;$')" onmouseout="javascript:window.frames.FSG_sugestoesIFrame.__FSGCALLER1Check.sHL(this,'eL_2',true)" id="eL_2_texto">membros ,</span> Staff é obrigatório ter seu cadastro em uma das Redes citadas acima <span onmouseover="javascript:window.frames.FSG_sugestoesIFrame.__FSGCALLER1Check.sHL(this,'eL_3',false,'ortografico#;$1#;$2#;$2#|$VIVÃO#;$2#|$OVÃO#;$2#|$UIVÃO#;$2#|$DIVÃO#;$2#|$IRÃO#;$2#|$VÃO#;$2#|$IVAN#;$2#|$IVO#;$')" onmouseout="javascript:window.frames.FSG_sugestoesIFrame.__FSGCALLER1Check.sHL(this,'eL_3',true)" id="eL_3_texto">IVAO</span>/<span onmouseover="javascript:window.frames.FSG_sugestoesIFrame.__FSGCALLER1Check.sHL(this,'eL_4',false,'ortografico#;$1#;$3#;$2#|$VASTEM#;$2#|$VASEM#;$2#|$VALSEM#;$2#|$VASTAM#;$2#|$ATXIM#;$2#|$VARGIM#;$2#|$LATIM#;$2#|$VAZEM#;$')" onmouseout="javascript:window.frames.FSG_sugestoesIFrame.__FSGCALLER1Check.sHL(this,'eL_4',true)" id="eL_4_texto">VATSIM</span> caso o mesmo não tenha ou se Recuse a efetuar <span onmouseover="javascript:window.frames.FSG_sugestoesIFrame.__FSGCALLER1Check.sHL(this,'eL_5',false,'sintatico#;$1#;$3#;$2#|$[os cadastros]#;$2#|$[o cadastro]#;$')" onmouseout="javascript:window.frames.FSG_sugestoesIFrame.__FSGCALLER1Check.sHL(this,'eL_5',true)" id="eL_5_texto">o cadastros</span> nas (<span onmouseover="javascript:window.frames.FSG_sugestoesIFrame.__FSGCALLER1Check.sHL(this,'eL_6',false,'ortografico#;$1#;$4#;$2#|$network#;$2#|$net Works#;$2#|$meteoros#;$2#|$netbooks#;$2#|$netões#;$')" onmouseout="javascript:window.frames.FSG_sugestoesIFrame.__FSGCALLER1Check.sHL(this,'eL_6',true)" id="eL_6_texto">NETWORKS</span>) Tendo assim a quebra de conduta com pena de exoneração e banimento resultando na conta Suspensa & Deletada.</p> </div> </div><!--#accordion--> </div><!--widgetcontent--> </div><!--span4--> </div><!--row-fluid--> </div><!--contentinner--> </div><!--maincontent--> </div><!--mainright--> <!-- END OF RIGHT PANEL --> <div class="clearfix"></div><!--footer--> </div><!--mainwrapper--> <script type="text/javascript"> jQuery(document).ready(function(){ // basic chart var flash = [[0, 2], [1, 6], [2,3], [3, 8], [4, 5], [5, 13], [6, 8]]; var html5 = [[0, 5], [1, 4], [2,4], [3, 1], [4, 9], [5, 10], [6, 13]]; function showTooltip(x, y, contents) { jQuery('<div id="tooltip" class="tooltipflot">' + contents + '</div>').css( { position: 'absolute', display: 'none', top: y + 5, left: x + 5 }).appendTo("body").fadeIn(200); } var plot = jQuery.plot(jQuery("#chartplace2"), [ { data: flash, label: "Flash(x)", color: "#fb6409"}, { data: html5, label: "HTML5(x)", color: "#096afb"} ], { series: { lines: { show: true, fill: true, fillColor: { colors: [ { opacity: 0.05 }, { opacity: 0.15 } ] } }, points: { show: true } }, legend: { position: 'nw'}, grid: { hoverable: true, clickable: true, borderColor: '#ccc', borderWidth: 1, labelMargin: 10 }, yaxis: { min: 0, max: 15 } }); var previousPoint = null; jQuery("#chartplace2").bind("plothover", function (event, pos, item) { jQuery("#x").text(pos.x.toFixed(2)); jQuery("#y").text(pos.y.toFixed(2)); if(item) { if (previousPoint != item.dataIndex) { previousPoint = item.dataIndex; jQuery("#tooltip").remove(); var x = item.datapoint[0].toFixed(2), y = item.datapoint[1].toFixed(2); showTooltip(item.pageX, item.pageY, item.series.label + " of " + x + " = " + y); } } else { jQuery("#tooltip").remove(); previousPoint = null; } }); jQuery("#chartplace2").bind("plotclick", function (event, pos, item) { if (item) { jQuery("#clickdata").text("You clicked point " + item.dataIndex + " in " + item.series.label + "."); plot.highlight(item.series, item.datapoint); } }); // bar graph var d2 = []; for (var i = 0; i <= 10; i += 1) d2.push([i, parseInt(Math.random() * 30)]); var stack = 0, bars = true, lines = false, steps = false; jQuery.plot(jQuery("#bargraph2"), [ d2 ], { series: { stack: stack, lines: { show: lines, fill: true, steps: steps }, bars: { show: bars, barWidth: 0.6 } }, grid: { hoverable: true, clickable: true, borderColor: '#bbb', borderWidth: 1, labelMargin: 10 }, colors: ["#06c"] }); // calendar jQuery('#calendar').datepicker(); }); </script> </body> <!-- Mirrored from demo.themepixels.com/webpage/katniss/dashboard.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 05 Sep 2015 03:37:26 GMT --> </html> 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.