Beispiel #1
0
<?php

require_once './classes/Register.php';
$r = new Register();
$list = $r->get_register_form();
echo $list;
Beispiel #2
0
 function get_installment_page()
 {
     $list = "";
     $r = new Register();
     $form = $r->get_register_form();
     $subs = $this->get_add_subscription_page();
     $installment_users = $this->get_installment_users();
     $list .= "<ul class='nav nav-tabs'>\n          <li class='active'><a data-toggle='tab' href='#home'><h5>Installment users</h5></a></li>\n          <li><a data-toggle='tab' href='#menu1'><h5>Register user</h5></a></li>\n          <li><a data-toggle='tab' href='#menu2'><h5>Add subscription</h5></a></li>\n        </ul>\n\n        <div class='tab-content'>\n          \n         <div id='home' class='tab-pane fade in active'>\n            <p>{$installment_users}</p>\n          </div>\n        \n          <div id='menu1' class='tab-pane fade'>\n            <p>{$form}</p>\n          </div>\n        \n          <div id='menu2' class='tab-pane fade'>\n            <p>{$subs}</p>\n          </div>\n\n        </div>";
     return $list;
 }