/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to trunk/DuggaSys/quizSystem/search/search.html.php

  • Committer: Henrik G.
  • Date: 2013-03-26 23:22:55 UTC
  • Revision ID: henrik.gustavsson@his.se-20130326232255-ik6snyatlbkf3zs1
First seed of Lenasys ... Needs to be Organized Further

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/// In development...
 
3
 
 
4
if (!empty($_POST['searchString'])) {
 
5
    // echo "<h2>Serach results: " . htmlsafe($_POST['searchString']) . "</h2>";
 
6
    // foreach($resultsArray as $resultData){
 
7
                // foreach($resultData as $tableName=>$result){
 
8
                        // displayTable($result, $tableName, "alienRow", "alienID", "pnr_idkod", getColNames("Student", $pdo), $_POST['searchString']);
 
9
                // }
 
10
        // }
 
11
        displaySearchResult($AssignedQuizzesResult, "AssignedQuizzesResult", new array("ssn", "qVarNr", "quizNr", "quizCourseName", "courseOccasion"), new array("checkQuizzesLink"=>"", "checkQuizzesLink"=>""), $searchString=null) {
 
12
        // displayTable($aliensResult, "S&ouml;kresultat f&ouml;r utomjordingar", "alienRow", "alienID", "pnr_idkod", getColNames("AllaAliens", $pdo), $_POST['searchString']);
 
13
    // displayTable($incidentsResult, "S&ouml;kresultat f&ouml;r incidenter", "incidentRow", "incidentID", "namn", getColNames("incident", $pdo), $_POST['searchString']);
 
14
    // displayTable($shipsResult, "S&ouml;kresultat f&ouml;r rymdskepp", "shipRow", "shipID", "id", getColNames("skepp", $pdo), $_POST['searchString']);
 
15
    // displayTable($speciesResult, "S&ouml;kresultat f&ouml;r raser", "speciesRow", "speciesID", "namn", getColNames("AllaRaser", $pdo), $_POST['searchString']);
 
16
    // displayTable($weaponsResult, "S&ouml;kresultat f&ouml;r vapen", "weaponsRow", "weaponsID", "idnr", getColNames("vapen", $pdo), $_POST['searchString']);
 
17
    // if (isset($usersResult))
 
18
        // displayTable($usersResult, "S&ouml;kresultat f&ouml;r anv&auml;ndare", "userRow", "userID", "anvnamn", getColNames("anvandare", $pdo), $_POST['searchString']);
 
19
}
 
20
?>