$output = "<p>" . $value["open_time"] . "</p><a href=\"\">" . $value["event_name"] . "</a><br>" . $value["content"]; echo "<p>" . $output . "</p><HR>"; } } ?> </div> </p> </div> </div> <div class="col-md-4"> <h1>勉強会</h1> <div class="col-md-12"> <div> <?php $request_study = "society"; $results = search::event("study", ""); //var_dump($results); foreach ($results as $value) { $output = "<p>" . $value["open_time"] . "</p><a href=\"\">" . $value["event_name"] . "</a><br>" . $value["content"]; echo "<p>" . $output . "</p><HR>"; } ?> </div> </div> </div> <div class="col-md-4"> <h1>学会誌・論文</h1> <div class="col-md-12"> <div> <?php // ***************************************************
<?php require_once "../config/database.php"; require "../controller/search_controller.php"; require "../model/user_model.php"; session_start(); $request = $_GET["request"]; $keyword = $_GET["keyword"]; $result = search::event($request, $keyword); ?> <!DOCTYPE html> <html lang="ja"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>DMM.research</title> <!-- Bootstrap --> <link href="css/common.css" rel="stylesheet"> <link href="css/bootstrap.css" rel="stylesheet"> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script src="js/bootstrap.min.js"></script> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <![endif]-->