ホーム > ものづくり文化展

ものづくり文化展

'', 'checked' => array(), ); $ss_id = $_COOKIE[$key]; if (! $ss_id) { return $result; } $database = yaml_parse_file($yml); $hash = $database[$env]; $mysql = mysql_connect($hash['host'], $hash['username'], $hash['password']); if (! $mysql) { return $result; } mysql_select_db($hash['database']); mysql_query('SET NAMES utf8'); $ss_id = mysql_real_escape_string($ss_id); $pref = mysql_query( "SELECT * FROM `preferences` WHERE `key` = '$ss_id';" ); if (! $pref || mysql_num_rows($pref) == 0) { return $result; } $row = mysql_fetch_assoc($pref); $result['user_name'] = $_COOKIE[$alive] ? $row['user_name'] : ''; $result['checked'] = syck_load($row['checked']); } return $result; } } $i = fetch_rails_info(); if (! empty($i['checked'])) { ?>

最近チェックした商品

応募作品一覧:2011年

応募作品  

The MTPaginate tag only works within PHP documents!
Make sure that the document extension is .php and that your server supports PHP documents.
1) $paginate_current_page = 1; $paginate_sections = array( 0 , 18); $paginate_top_section = $paginate_sections[$paginate_current_page-1]+1; $paginate_bottom_section = $paginate_sections[$paginate_current_page]; } else { $paginate_top_section = 1; $paginate_bottom_section = 18; } if(isset($_SERVER['QUERY_STRING'])) { $paginate_self = '&' . $_SERVER['QUERY_STRING'] . '&'; $paginate_self = preg_replace("/&page=[^&]*&/", "&", $paginate_self); $paginate_self = preg_replace("/&page_section=[^&]*&/", "&", $paginate_self); $paginate_self = substr($paginate_self, 1, strlen($paginate_self) - 1); if($paginate_self == '&') $paginate_self = ''; else $paginate_self = htmlentities($paginate_self); } else { $paginate_self = ''; } $paginate_self = basename($_SERVER['PHP_SELF']) . "?${paginate_self}page"; ?>