87 lines
3.6 KiB
PHP
87 lines
3.6 KiB
PHP
<!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" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Create Activities - TEAM</title>
|
|
<link rel="stylesheet" type="text/css" href="asset/css/bootstrap.css" />
|
|
<link rel="stylesheet" type="text/css" href="asset/css/style.css" />
|
|
</head>
|
|
<body>
|
|
<!--nav-->
|
|
<nav class="navbar navbar-default" role="navigation">
|
|
<div class="container-fluid">
|
|
<div class="navbar-header">
|
|
<a class="navbar-brand" href="<?php echo base_url ?>" style="height:50px;padding:2px 15px;font-family:Modern;"><img src="asset/image/pic_0000_Group-1-copy.png" height="100%"/> Socmed Campus</a>
|
|
</div>
|
|
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
|
<div class="cari" style="margin-left:500px">
|
|
<form class="navbar-form navbar-left" role="search">
|
|
<div class="form-group">
|
|
<input type="text" size="30" id="search" style="width:320px;" class="form-control" autocomplete="off" placeholder="Search" onkeyup="lookup(this.value);">
|
|
</div>
|
|
<div id="suggestions"></div>
|
|
</form>
|
|
</div>
|
|
<ul class="nav navbar-nav navbar-right">
|
|
<li><a href="home.php"><img src="asset/image/home.png" width="20px" title="Home"></a></li>
|
|
<li><a href="<?php base_url ?>profile.php?id=<?php echo $_SESSION['username'] ?>"><img src="asset/image/profile.png" width="20px" title="Profile"></a></li>
|
|
<li><a href="community.php" id="com"><img src="asset/image/community.png" width="20px" title="Community"></a></li>
|
|
<li><a href="<?php base_url ?>home.php?action=logout" id="com"><img src="asset/image/logout.png" title="Logout" width="20px"></a></li>
|
|
</li>
|
|
</ul>
|
|
</div><!-- /.navbar-collapse -->
|
|
</div><!-- /.container-fluid -->
|
|
</nav>
|
|
|
|
<!--content-->
|
|
<div class="rows">
|
|
<div class="container">
|
|
<div class=col-lg-4>
|
|
</div>
|
|
<div class=col-lg-4>
|
|
<h3 align="center"> ACTIVITIES FORM</h3>
|
|
<br />
|
|
<form role="form" method="post" action="community.php?action=createEventAction" enctype="multipart/form-data">
|
|
<div class="form-group">
|
|
<label for="InputName">Activities Name</label>
|
|
<input type="text" name="name" class="form-control" id="name" placeholder="Enter name">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="InputDate">Date</label>
|
|
<input type="date" name="date" class="form-control" id="Date" placeholder="Enter Date">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="InputType">Type</label> <br />
|
|
<select name="type" id="Type" style="width:100%">
|
|
<option value="event">Event</option>
|
|
<option value="riset">Riset</option>
|
|
</select>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="InputDescription">Description</label>
|
|
<textarea name="desc" class="form-control" id="description" placeholder="Enter description..." rows="4"></textarea>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="InputDescription">Poster</label>
|
|
<input type="file" name="file">
|
|
</div>
|
|
<input type="hidden" name="idc" class="form-control" id="Date" value="<?php echo $_GET['id'] ?>">
|
|
<button type="submit" class="btn btn-primary">Submit</button>
|
|
<a href="javascript:javascript:history.go(-1)"><button type="button" class="btn btn-default">Back</button></a>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<!--footer-->
|
|
<div class="navbar navbar-inverse navbar-fixed-bottom">
|
|
<div class="container">
|
|
<p class="navbar-text">copyright by IFTeam</p>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|