<?php if($_COOKIE['version'] == 'web'){ include('head_web.php'); }elseif($_COOKIE['version'] == 'wap'){ include('head_wap.php'); }elseif(!$_COOKIE['version']){ include('head_wap.php'); } ?>