[eluser]RaiNnTeaRs[/eluser]
<html>
<head>
<a href="http://localhost/ci2/index.php/dojang/logout" id="l1" style="top:10;left:700">LogOut</a>
<style>
.abc
{
background-image:url('http://localhost/ci2/images/tab1.jpg');
position:relative;
float:left;
height:70;
width:200;
border:1px solid black;
text-align:center;
text-valign:center;
}
</style>
<title>
SCORPION TAEKWONDO CLUB - NEWS AREA
</title>
</head>
<body>
<center>
<font face="7th Service Expanded Italic" size = "30">Scorpion</font><br>
<font face="3D LET (BRK)" size = "18">NEWS™ </font><br>
</center>
<center>
<table valign="center" >
<tr>
<td>
<a href="http://localhost/ci2/index.php/dojang/store" class="abc" id="d1" >STORAGE</a>
</td>
<td>
<a href="http://localhost/ci2/index.php/dojang/paint" class="abc" id="d2" >PAINT</a>
<style>
A.abc:hover
{
background-image:url('http://localhost/ci2/images/tab2.jpg');
}
</style>
</td>
<td>
<a href="http://localhost/ci2/index.php/dojang/mall" class="abc" id="d3" >MALL</a>
</td>
<td>
<a href="http://localhost/ci2/index.php/dojang/member" class="abc" id="d4" >MEMBER</a>
</td>
<td>
</td>
<td>
<a href="http://localhost/ci2/index.php/dojang/milis" class="abc" id="d5" >MILIS</a>
</td>
<td>
<a href="http://localhost/ci2/index.php/dojang/forum" class="abc" id="d6" >FORUM</a>
</td>
<td>
</td>
</tr>
</table>
</center>
<hr>
<?php
echo br(3);
echo form_open('dojang/insert_news');
echo "<center>";
echo $this->table->generate($hasil);
echo "</center>";
// echo "<right>";
// echo "</right>";
$pv= $this->session->userdata('level');
if ($pv==100)
{
echo br(4);
echo "<center>";
echo "<table border = 1>";
echo "<tr>";
echo "<td>";
$data2['name']='Isi';
$data2['rows']='4';
$data2['cols']='30';
echo "News : ";
echo "</td>";
echo "<td>";
echo form_textarea($data2);
//echo "<input type = 'text' name = 'Isi'>";
echo "</td>";
echo "</tr>";
echo "</table>";
echo br(2);
?>
<input type= "submit" value = "POST" />
<?php
echo "</center>";
}
echo br();
echo $this->pagination->create_links();
?>
</body>
</html>