예제 #1
0
    <script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.2/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="css.css">
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
    <script src="server.js" type="text/javascript"></script>
</head>

<body class="bg2">
    <?php 
require "server/DatabasePDO.php";
require "server/Star.php";
require "server/PortraitedBy.php";
require "server/PortraitedIn.php";
require "server/Superhero.php";
require "server/Movie.php";
$star = Star::findById($_POST["starID"]);
$portraitedin = PortraitedIn::findByStarId($star->getId());
$portraitedby = PortraitedBy::findByStarId($star->getId());
?>
    <img id="upper_left" class="reflect" src="images/spiderman.png" width="450px">

    <div class="container result">
        <div class="row text-center header">
            <div id="logo"></div>
        </div>

        <!--Character Start-->
        <div class="panel panel-default">
            <div class="panel-heading  text-center">
                STAR
            </div>
            <div class="panel-body">
예제 #2
0
 private static function initializeConnection()
 {
     if (is_null(self::$dbConn)) {
         self::$dbConn = DatabasePDO::getInstance();
     }
 }
예제 #3
0
    <!-- Latest compiled and minified JavaScript -->
    <script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.2/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="css.css">
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
    <script src="server.js" type="text/javascript"></script>
</head>

<body class="bg2">
    <?php 
require "server/DatabasePDO.php";
require "server/Movie.php";
require "server/Star.php";
require "server/PortraitedIn.php";
require "server/Director.php";
$movie = Movie::findById($_POST["movieID"]);
$portraitedin = PortraitedIn::findByMovieId($_POST["movieID"]);
$director = Director::findById($_POST["movieID"]);
?>
    <img id="upper_left" class="reflect" src="images/spiderman.png" width="450px">

    <div class="container result">
        <div class="row text-center header">
            <div id="logo"></div>
        </div>

        <!--Character Start-->
        <div class="panel panel-info">
            <div class="panel-heading  text-center">
                MOVIE
            </div>
            <div class="panel-body">