以前関わったサイトが外注から内製に変わって、久々にサイト見てきたらコードが完全に別物になってしまった
ちなみにgeneral.cssは使われてないけど、中身もかなりやばいことになってる
<html>
<head>
<title>Hoge</title>
<link href="css/resetCss.css" />
<link href="css/general.css" />
<script src="scripts/jquery.js"></script>
<script src="scripts/jquery.lightbox.js"></script>
<link href="css/jquery.lightbox.css" media="screen" />
<script></script>
</head>
<body>
<div style="大量のinline style" onclick="javascript:location.href='index.php'">
ここにロゴ
</div>
<div style="大量のinline style">
<div style="大量の(略">
<div style="(ry" onclick="location.href='index.php';">
ここにサイト名
</div>
</div>
<script>
function checkValidation()
{
/* いろいろ */
document.myForm.submit();
}
</script>
<form action="hoge.php" method="post" name="myForm">
<div style="(ry">
<div style="(ry">
<div style="(ry">
<div style="(ry">
<div style="(ry">
<div style="(ry">
<!-- いろんな入力欄 -->
<div style="(ry">
<div>
<div style="(ry">
<div style="(ry">
<!-- 送信ボタン -->
<img src="images/submit_button.png" class="handcursor" onclick="javascript:checkValidation();">
</div>
</div>
<div style="(ry">
<div style="(ry">
<!-- リンク -->
<input type="button" style="(ry" value="hoge" onclick="location.href='hage.php';">
</div>
</div>
<div class="clear"></div>
</div>
</div>
</div>
</div>
<div style="(ry">
<div style="(ry">
</div>
</div>
<div class="clear"></div>
</div>
<div style="(ry">
<!-- いろいろ -->
</div>
</div>
</div>
</div>
</form>
<!--
以上が右上のログインフォーム
以下はこんな感じの本文とかフッターとかいろいろ
-->
</div>
</body>
</html>
使い方ヒント: 「これは臭う」という行を見付けたら、各行の
をクリックしてマーキングしておきましょう(要Twitter OAuth認証)
コメント投稿には、twitter認証が必要です。
Twitter認証
style="display:inline;" onclick="location.href='hage.php';" でA要素の出来上がりだぜー(ドヤ ひ、ひどい。