Exemplo n.º 1
0
 static public function getHistoryInstance()
 {
   $allInstances = IsinCollection::getHistory();
   if((isset($_GET['number']))&&(isset($allInstances[$_GET['number']])))
     return $allInstances[$_GET['number']];
   else
     return $allInstances[0];
 }
Exemplo n.º 2
0
<?php
include('../config.php');
include('../functions.php');
include('../classes/isincollection.class.php');
include('../classes/currencycollection.class.php');
include('../classes/clientcollection.class.php');
include('../classes/anytable.class.php');

loginAdmin();
if(!loggedAdmin())
  header('location: index.php');

  include("$templates/menu.php");

  $total = count(IsinCollection::getHistory())-1; 
  $instance = IsinCollection::getHistoryInstance(); 

  include("$templates/isins_history.php");

  include("$templates/footer.php");
?>