padding-right: 20px; } .templatemo_bottom_section_01_middle a, a:visited{
color: fff; text-decoration: none; }
.templatemo_bottom_section_01_middle a:active, a:hover{color: f6ff00;
text-decoration: none; } .templatemo_bottom_section_01_middle ul {margin: 0px;
padding: 0px; } .templatemo_bottom_section_01_middle ul li{list-style:
none; margin: 0 0 5px 0;
padding: 0 0 5px 0; border-bottom: 1px dotted 333; }
.templatemo_bottom_section_01 .templatemo_bottom_section_01_bottom {
width: 240px; height: 10px;
background: urlimagestemplatemo_bottom_section_bottom.jpg no-
repeat; } html .templatemo_bottom_section_01
.templatemo_bottom_section_01_bottom { margin-bottom: -5px; }
templatemo_bottom_section .templatemo_bottom_section_02 {float: left;
padding-top: 20px; width: 300px; }
end of bottom panel footer
templatemo_footer_panel{width: 100;
background-color: 353535; } templatemo_footer_panel templatemo_footer_section{text-
align: center; width: 960px;
margin: 0 auto; padding: 10px 0; }
end of footer
b. Listing Program Koneksi.php
?php FileName=Connection_php_mysql.htm
Type=MYSQL HTTP=true
hostname_koneksi = localhost; database_koneksi = songket;
Universitas Sumatera Utara
username_koneksi = root; password_koneksi = 1234;
koneksi = mysql_pconnecthostname_koneksi, username_koneksi, password_koneksi or
trigger_errormysql_error,E_USER_ERROR;
?
c. Listing program index.php
?php require_onceConnectionskoneksi.php; ? ?php
mysql_select_dbdatabase_koneksi, koneksi; query_Quser = SELECT FROM `user`;
Quser = mysql_queryquery_Quser, koneksi or diemysql_error;
row_Quser = mysql_fetch_assocQuser; totalRows_Quser = mysql_num_rowsQuser;
??php Validate request to login to this site.
if isset_SESSION { session_start;
} loginFormAction = _SERVER[PHP_SELF];
if isset_GET[accesscheck] { _SESSION[PrevUrl] = _GET[accesscheck];
} if isset_POST[name] {
loginUsername=_POST[name]; password=_POST[password];
MM_fldUserAuthorization = ; MM_redirectLoginSuccess = admin.php;
MM_redirectLoginFailed = index.php; MM_redirecttoReferrer = false;
mysql_select_dbdatabase_koneksi, koneksi; LoginRS__query=sprintfSELECT Nama, Password
FROM user WHERE Nama=s AND Password=s, get_magic_quotes_gpc ? loginUsername :
addslashesloginUsername, get_magic_quotes_gpc ? password : addslashespassword;
LoginRS = mysql_queryLoginRS__query, koneksi or diemysql_error;
loginFoundUser = mysql_num_rowsLoginRS; if loginFoundUser {
Universitas Sumatera Utara
loginStrGroup = ; declare two session variables and assign them
_SESSION[MM_Username] = loginUsername; _SESSION[MM_UserGroup] = loginStrGroup;
if isset_SESSION[PrevUrl] false { MM_redirectLoginSuccess =
_SESSION[PrevUrl];
} headerLocation: . MM_redirectLoginSuccess
; }
else { headerLocation: . MM_redirectLoginFailed ;
} }
? html
head titleSongket Melayutitle
link href=templatemo_style.css rel=stylesheet type=textcss
-- Free CSS Template | Designed by TemplateMo.com --
style type=textcss --
.style1 {font-size: 12px} --
style head
body div id=templatemo_top_panel
div id=templatemo_top_section div id=site_titleSONGKET MELAYU div
div id=site_taglineTak Hilang Melayu di Bumi div
div id=templatemo_menu ul
lia href=index.phpHomeali
lia href=profil.phpProfilali
lia href=galleri.phpGalleryali
lia href=produk.phpProductali
lia href=contact.php class=lastContactali
ul
Universitas Sumatera Utara
div -- end of menu -- div -- end of top section --
div -- end of top panel -- div id=templatemo_content_panel
div id=templatemo_content_section div id=templatemo_content_left
div id=login_section
div id=login_section_topdiv div id=login_section_titleMember
Logindiv div id=login_section_middle
form name=form1 action=?php echo loginFormAction; ? method=POST
div class=form_row labelUsername:label
pinput name=name type=text id=email_addremssp
plabel Password: label input name=password type=password
id=passwordp pinput class=button type=submit name=Submit
value=Login p div
div class=form_rowlabellabeldiv formdiv
div id=login_section_bottomdiv div
div id=div div id=left_column_section
div id=left_column_section_topdiv div id=left_column_section_titleJenis Songket
div div id=left_column_section_middle
div class=popular_post h1a href=songketbatubara.phpraquo; Songket
Batubara ah1 pjenis kerajinan tenun songket Batubara serta
kreasinya pdiv div class=popular_post
h1a href=songketpalembang.phpraquo; Songket Palembang ah1
pBerbagai Motif Songket Palembang pdiv div class=popular_post
h1a href=sonketminang.phpraquo; Songket Minang ah1
pGambar dan macam-macam motif songket Minang pdiv
Universitas Sumatera Utara
divdivdiv div -- end of content left --
div id=templatemo_content_right div class=right_column_section
div class=right_column_section_title div align=justify img src=imageseek.gif
width=15 height=15 img src=imageseek.gif width=15 height=15 Welcome To Our Songket
Website img src=imageseek.gif width=15 height=15 img src=imageseek.gif width=15
height=15 divdiv div class=right_column_section_bodytable
width=472 height=140 border=0 tr
td width=90 height=136div align=centerimg src=images280220103375 - Copy.jpg width=90
height=130 divtd td width=90div align=centerimg
src=images280220103376 -
Copy.jpg width=90 height=130 divtd
td width=90div align=centerimg src=images280220103373
- Copy.jpgwidth=90
height=130 divtd td width=90div align=centerimg
src=imagesDSC00629.JPG width=90 height=130 divtd
td width=90div align=centerimg src=imagesDSC00615
- Copy.JPG width=90
height=130 divtd tr table
table width=239 border=0 tr
td width=90img src=images100_3738DesktopResolution.jpg
width=90 height=130 td td width=90img
src=imagesZqeB1osA1X.jpg width=90 height=130 td
td width=26img src=imagesP5280253DesktopResolution.jpg
width=90 height=130 tdtd td width=10img
src=imagesP5280266copyDesktopResolution.jpg width=90 height=130 tdtd
td width=10img src=imagesP5280260copyDesktopResolution.jpg
width=90 height=130 tdtd trtablediv
Universitas Sumatera Utara
div class=cleanernbsp; p align=justify class=style1Songket atau
sering juga disebut dengan kain Songket adalah salah satu busana khas Indonesia. Songket secara turun
menurun dikembangkan oleh masyarakat Melayu. Songket merupakan salah satu warisan budaya Melayu. Songket
merupakan sejenis kain yang biasanya ditenun tangan, dan mempunyai corak rumit benang emas atau perak.
Perkataan songket bermaksud membawa keluar atau menarik benang daripada kain atau menenun
menggunakan benang emas dan perak. Dari segi sejarah, ia hanya dipakai golongan
bangsawan - keluarga kerabat diraja dan orang besar negeri. Kehalusan tenunan dan kerumitan motif corak
songket ketika itu menggambarkan pangkat dan kedudukan tinggi seseorang pembesar. Ia telah
terkenal di Malaysia dan Indonesia sejak abad ke-13 yang lampau.p
divdiv div
div class=right_column_section div -- end of content section --
div -- end of content panel -- div id=templatemo_bottom_panel
div id=templatemo_bottom_section div class=cleanernbsp;div
div -- end of bottom section --
div -- end of bottom panel --
div id=templatemo_footer_panel
div id=templatemo_footer_section Copyright © 2010 a href=Winda Muliana
adiv -- end of footer section --
div -- end of footer panel -- body
html ?php
mysql_free_resultQuser; ?
d. Form Pengisian Buku Tamu contact.php