Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

1

2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85

<?
session_start();
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1


-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Info | Al-Ihsan Schoo</title>
<style type="text/css">
<!-body {
background-image: url(image/21752-bigthumbnail04.jpg);
background-attachment: fixed;
margin-left: 15px;
margin-right: 15px;
text-align: left;
}
left {
text-align: left;
}
-->
</style>
<style type="text/css">
<!-.center {
text-align: center;
}
.center strong {
color: #FFF;
}
-->
</style>
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!-a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: underline;
color: #FFF;
}
a:active {
text-decoration: none;
}
-->
</style></head>
<body>
<table width="950" border="0" align="center" cellspacing="5" bgcolor="#99FF99">
<caption>
</caption>
<tr>
<td height="192" colspan="3" background="image/Banner website al-ihsan.jpg">&nbsp;</td>
</tr>
<tr>
<td height="34" colspan="2"><ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="index.php">Home</a></li>
<li><a href="profil.php" class="MenuBarItemSubmenu">Profil</a>
<ul>
<li><a href="profil.php">Sejarah Yayasan</a></li>
<li><a href="struktur.php">Struktur Organisasi</a></li>
<li><a href="prestasi.php">Prestasi</a></li>
</ul>
</li>
<li><a href="visimisi.php" class="MenuBarItemSubmenu">Visi Misi</a>
<ul>
<li><a href="visimisi.php">Yayasan</a></li>
<li><a href="visimisi_tk.php">TK Islam</a></li>
<li><a href="visimisi_sd.php">SD Islam</a></li>
<li><a href="visimisi_smp.php">SMP Islam</a></li>
<li><a href="visimisi_smk.php">SMK Islam</a></li>
</ul>
</li>
<li><a href="fasilitas.php">Fasilitas</a>
</li>
<li><a href="#" class="MenuBarItemSubmenu">Fitur</a>
<ul>
<li><a href="agenda.php">Agenda </a></li>
<li><a href="artikel.php">Artikel</a></li>
<li><a href="info.php">Info</a></li>

C:\apache2triad\htdocs\web_ai\detail_info.php: 1/4

86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162

<li><a href="berita.php">Berita</a></li>
<li><a href="buku_tamu.php">Buku Tamu</a></li>
<li><a href="galleryphoto.php">Gallery photo</a></li>
</ul>
</li>
<li><a href="kontak.php">Kontak Sekolah</a></li>
</ul></td>
</tr>
<tr>
<td width="246" height="115" valign="top"><table width="243" border="0">
<tr>
<th width="237" height="109" valign="top"><table width="240" border="0" cellpadding="0" cell
spacing="5" bgcolor="#33CC33">
<tr>
<td colspan="2" bgcolor="#66FF00"><strong>Banner</strong></td>
</tr>
<tr>
<td height="73"><center >
<img src="image/logo.png" width="228" height="73" />
</center></td>
</tr>
</table></th>
</tr>
<tr>
<td height="23" valign="top"><table width="240" border="0" cellpadding="0" cellspacing="5" b
gcolor="#33CC33">
<tr>
<td colspan="2" bgcolor="#66FF00"><strong>Agenda</strong></td>
</tr>
<tr>
<td height="19"><center >
<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="141" heig
ht="49">
<param name="movie" value="image/5005-green.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the l
atest version of Flash Player. Delete it if you dont want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="image/5005-green.swf" width="141" hei
ght="49">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Playe
r 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/i
mages/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="3
3" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</center></td>
</tr>
<tr>
<td height="18" align="center" valign="top"><?php
function buatkalender($tanggal,$bulan,$tahun) {
$bulanan=array(1=>"Januari","Februari","Maret","April",
"Mei","Juni","Juli","Agustus","September",
"Oktober","November","Desember");
$bln=date("n");
$thn=date("Y");
$jmlhari = date("t",mktime(0,0,0,$bulan,1,$tahun));
$haritglsatu = date("w",mktime(0,0,0,$bulan,1,$tahun));
$kalender = "<table width=180 cellspacing=1 cellpadding=4
border=0 class=tabel_1>\n";
$kalender .= "<tr class=header>
<td class=header align=center colspan=7><font color=#003366><b>$bulanan[$bln] $thn</b>
</font></td></tr>\n";
$kalender .= "<tr bgcolor=#A1A1A1>
<td class=tabel_2>M</td><td class=tabel_2>S</td><td class=tabel_2>S</td><td class=tabe
l_2>R</td>
<td class=tabel_2>K</td><td class=tabel_2>J</td><td class=tabel_2>S</td></tr>\n";
$a
= 1;

C:\apache2triad\htdocs\web_ai\detail_info.php: 2/4

163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246

$adabaris
= TRUE;
$mulaicetak = 0;
while ($adabaris) {
$kalender .= "<tr align=center class=tr_terang>";
for ($i = 0; $i < 7; $i++ ) {
if ($mulaicetak < $haritglsatu) {
$kalender .= "<td>&nbsp;</td>";
$mulaicetak++;
}
elseif ($a <= $jmlhari) {
$tt = $a;
if ($a == $tanggal) {
$tt = "<span style='color: blue; font-weight: bold;
font-size: larger; text-decoration: blink;'>
$tt</span>";
}
if ($i == 0) {
$tt = "<font color=\"#FF0000\">$tt</font>";
}
$kalender .= "<td>$tt</td>";
$a++;
}
else {
$kalender .= "<td>&nbsp;</td>";
}
}
$kalender .= "</tr>\n";
if ($a <= $jmlhari) {
$adabaris = TRUE;
}
else {
$adabaris = FALSE;
}
}
$kalender .= "</table>\n";
return $kalender;
}
$tgl_skrg=date("d");
$bln_skrg=date("n");
$thn_skrg=date("Y");
echo buatkalender($tgl_skrg,$bln_skrg,$thn_skrg);
?></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="685" valign="top"><table width="100%" border="0" align="right" cellpadding="0" cellspac
ing="5" bgcolor="#33CC33">

<?
include "koneksi.php";
$tampil=mysql_query("select *from t_info where id_info='$id' ");
$data=mysql_fetch_array($tampil);
$id=$data['id_info'];
$isi=$data['isi'];
$subject=$data['subject'];
$postdate=$data['postdate'];
?>
<tr>
<td bgcolor="#66FF00"><font size="+1"><strong>Info Sekolah</strong></font></td>
</tr>
<tr>
<td align="center"><font color="#2A00FF">
<h3>&quot; <? echo $subject; ?> &quot;</h3></font></td>
</tr>
<tr>
<td><img src="image/edit1.png" width="16" height="16" /> Tanggal : <? echo $postdate; ?></td
>
</tr>
<tr>
<td><hr /></td>
</tr>
<tr>
<td>
<? echo $isi; ?></td>

C:\apache2triad\htdocs\web_ai\detail_info.php: 3/4

247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269

</tr>
<tr>
<td><a href="info.php">[ Kembali ke Info Sekolah ]</a></td>
</tr>

</table></td>
</tr>
<tr>
<td height="74" colspan="2" background="image/Footer Stormy Bliss.jpg">
<div>
<p class="center"><strong>Copyright @ 2012. Website engine's code is copyright @ 2012. Design by
admin</strong></p>
</div></td>
</tr>
</table>
<script type="text/javascript">
<!-var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", img
Right:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html>

C:\apache2triad\htdocs\web_ai\detail_info.php: 4/4

You might also like