示例#1
0
 public function Load()
 {
     $lHtml = HtmlLib::singleton();
     $oAjax = new AjaxLib();
     $lVars['TitlePage'] = "GEOPD -  Sistema de Ubicacion OnLine ";
     $lVars['edtUsuario'] = $lHtml->textbox('edtUsuario', 'edtUno', '', 10, '');
     $lVars['edtContrasena'] = $lHtml->pass('edtContrasena', 'edtUno', '', 10);
     //array("onClick","valLogin(this.form)");
     $lVars['btnIngresar'] = $lHtml->submit('btnIngresar', 'btnPrincipal', 'Ingresar', '');
     $lVars['Page'] = $lHtml->hidden('Page', 'Usuario');
     $lVars['Action'] = $lHtml->hidden('Action', 'Validar');
     $lVars['Ajax'] = $oAjax->ImprimirJs();
     $lVars['Mensaje'] = $lHtml->label("lblError", "msjError", $_SESSION['Mensaje']);
     $_SESSION['Mensaje'] = "";
     $this->lView->show($this->lPage, $lVars);
 }
示例#2
0
				<tr>
					<td class="">
						<a href="http://wiki.en.it-processmaps.com/index.php/ITIL_Glossary#ITIL%20Glossary%20A-Z"
							target="_BLANK">Glossary of Terms</a>
						<div id="referenceStatus"></div>
					</td>
				<tr>
					<td>
						<button id="saveReference" class="command-button primary span3">
						    <i class="icon-database on-right"></i>
						    Save This Reference
						    <small><small></small></small>
						</button>
						<?php 
    $url = 'saveQuizReference.php';
    echo AjaxLib::AjaxScript('saveReference', $url, 'reference', 'id=' . $id, 'referenceStatus');
    ?>
					</td>
				</tr>
				</table>
				<?php 
}
?>
            </div>
        </div>
        <div class="row">
        	<div class="span12">
        		<?php 
include_once 'lectureSlides.php';
?>
        	</div>