コード例 #1
0
ファイル: part.php プロジェクト: ToshaShigenina/intelart
<!DOCTYPE html>
<?php 
require_once "../database.php";
require_once "../models/functions.php";
$link = db_connect();
$part = participants_all($link, $_GET['year']);
?>
<html>
	<head>
		<meta charset="utf-8">
		<title>IntellArt - Городской конкурс мультимедиа проектов - Участники - <?php 
echo $_GET['year'];
?>
</title>
		<!--[if lt IE 9]>
		<script>
			var e = ("article,aside,figcaption,figure,footer,header,hgroup,nav,section,time").split(',');
			for (var i = 0; i < e.length; i++) 
			{
			document.createElement(e[i]);
			}
		</script>
		<![endif]-->
		<link rel="icon" type="image/png" href="../image/favicon.png">
		<link rel="stylesheet" href="../style.css">
		<link rel="stylesheet" href="../about.css">
		<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
		<script>
		function anichange (objName) {
			if ( $(objName).css('display') == 'none' ) {
				$(objName).animate({height: 'show'});
コード例 #2
0
    ?>
        <tr>
            <td><?php 
    echo $a['year'];
    ?>
</td>
            <td></td>
            <td>
            <a href="admin_news.php?action=delete&id=<?php 
    echo $a['id'];
    ?>
">Удалить</a>
            </td>
        </tr>
        <?php 
    foreach ($parts = participants_all($link, $a['year']) as $b) {
        ?>
        <tr>
            <td></td>
            <td><?php 
        echo $b['fio'];
        ?>
</td>
            <td>
            <a href="admin_news.php?action=delete&id=<?php 
        echo $b['id'];
        ?>
&year=<?php 
        echo $b['year'];
        ?>
">Удалить</a>