Skip to content

Commit 6108d9a

Browse files
committed
加入好玩的代码注释
1 parent acc372c commit 6108d9a

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

include/db.php

+11-3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@
1818
// admin password
1919
$admin_pass = "";
2020

21-
// HTML that goes just before </head>
22-
$head_html = "";
23-
?>
21+
// HTML that goes just before <html>
22+
$pre_html = "<!--
23+
_____ _____ _____ __ __ _____ _____ __ _ _____
24+
/ ___| / _ \ | _ \ \ \ / / | _ \ | ____| | \ | | / ___|
25+
| | | | | | | |_| | \ \/ / | |_| | | |__ | \| | | |
26+
| | | | | | | ___/ \ / | ___/ | __| | |\ | | | _
27+
| |___ | |_| | | | / / | | | |___ | | \ | | |_| |
28+
\_____| \_____/ |_| /_/ |_| |_____| |_| \_| \_____/
29+
-->
30+
<!-- 希望大家多多在微博以及github上支持copypeng -->";
31+
?>

index.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
?>
55
<!DOCTYPE html>
6+
<? echo $pre_html; ?>
67
<html lang="zh-CN">
78
<head>
89
<meta charset="utf-8">
@@ -325,8 +326,6 @@ function markerListMouseOut(marker_id) {
325326

326327
google.maps.event.addDomListener(window, 'load', initialize);
327328
</script>
328-
329-
<? echo $head_html; ?>
330329
</head>
331330
<body>
332331

0 commit comments

Comments
 (0)