</style> <?php if ($TopMenu == "member") { ?> <ul> <li><a href="list.php?pgkey=list">List</a></li> </ul> <?php } else { if ($TopMenu == "favorite") { require_once '../../lib/class.dbConnect.php'; require_once '../../lib/class.contents.php'; $DB = new dbConn(); $Content = new clsContents($DB->getConnection()); $arrServerList = $Content->getServerList(); ?> <ul> <?php $type_temp = ""; for ($i = 0; $i < count($arrServerList); $i++) { if ($type_temp == $arrServerList[$i]['c_type']) { continue; } $type_temp = $arrServerList[$i]['c_type']; ?> <li><a href="list.php?c_type=<?php echo $arrServerList[$i]['c_type']; ?> " ><?php echo $arrServerList[$i]['c_type'];