-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
208 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,32 @@ | ||
<?php | ||
$this->load->library('form_validation'); | ||
<<<<<<< HEAD | ||
echo validation_errors(); | ||
echo form_open('login'); ?> | ||
<?php | ||
var_dump($username); //var_dump($sesh); | ||
======= | ||
echo form_open('login'); | ||
>>>>>>> a024e265e94e8addb4b7953ae90dbdb94e25e7af | ||
?> | ||
<div class="login container"> | ||
<img class="icon" src="../img/twitter.png" alt="Twitter"> | ||
<div class="form-group"> | ||
<label for="username">Username</label> | ||
<input class="form-control" type="text" name="username" value="<?php echo set_value('username'); ?>" placeholder="Enter username"/> | ||
<?php echo form_error('username'); ?> | ||
</div> | ||
<div class="form-group"> | ||
<label for="password">Password</label> | ||
<input class="form-control" type="password" name="password" value="<?php echo set_value('password'); ?>" placeholder="Enter password"/> | ||
<?php echo form_error('password'); ?> | ||
</div> | ||
<button type="submit" class="btn btn-primary">Login</button><span> or <a href="register">Create an account</a></span> | ||
|
||
<h1>Twitter</h1> | ||
<!--<img src="../img/twitter.png" alt="Twitter icon.">--> | ||
<h5>Username</h5> | ||
<input type="text" name="username" value="<?php echo set_value('username'); ?>" size="50" /> | ||
<?php echo form_error('username'); ?> | ||
</form> | ||
|
||
<h5>Password</h5> | ||
<input type="password" name="password" value="<?php echo set_value('password'); ?>" size="50" /> | ||
<?php echo form_error('password'); ?> | ||
|
||
<br><br> | ||
<div><input type="submit" value="Submit"/></div> | ||
</form> | ||
</div> | ||
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,44 @@ | ||
<?php | ||
$this->load->library('form_validation'); | ||
echo validation_errors(); | ||
echo form_open('register'); ?> | ||
<h1>Register</h1> | ||
<h5>First Name</h5> | ||
<input type="text" name="firstname" value="<?php echo set_value('firstname'); ?>" size="50" /> | ||
<?php echo form_error('firstname'); ?> | ||
|
||
<h5>Last Name</h5> | ||
<input type="text" name="lastname" value="<?php echo set_value('lastname'); ?>" size="50" /> | ||
<?php echo form_error('lastname'); ?> | ||
|
||
<h5>Email Address</h5> | ||
<input type="text" name="email" value="<?php echo set_value('email'); ?>" size="50" /> | ||
<?php echo form_error('email'); ?> | ||
|
||
<h5>Location</h5> | ||
<input type="text" name="location" value="<?php echo set_value('location'); ?>" size="50" /> | ||
<?php echo form_error('location'); ?> | ||
|
||
<h5>Username</h5> | ||
<input type="text" name="username" value="<?php echo set_value('username'); ?>" size="50" /> | ||
<?php echo form_error('username'); ?> | ||
|
||
<h5>Password</h5> | ||
<input type="password" name="password" value="<?php echo set_value('password'); ?>" size="50" /> | ||
<?php echo form_error('password'); ?> | ||
|
||
<br><br> | ||
<div><input type="submit" value="Submit"/></div> | ||
|
||
<div class="login register container"> | ||
<img class="icon reg" src="../img/twitter.png" alt="Twitter"> | ||
<h1>Register</h1> | ||
<div class="form-group"> | ||
<label for="firstname">First Name</label> | ||
<input class="form-control" type="text" name="firstname" value="<?php echo set_value('firstname'); ?>"/> | ||
<?php echo form_error('firstname'); ?> | ||
</div> | ||
<div class="form-group"> | ||
<label for="lastname">Last Name</label> | ||
<input class="form-control" type="text" name="lastname" value="<?php echo set_value('lastname'); ?>"/> | ||
<?php echo form_error('lastname'); ?> | ||
</div> | ||
<div class="form-group"> | ||
<label for="email">Email</label> | ||
<input class="form-control" type="email" name="email" value="<?php echo set_value('email'); ?>"/> | ||
<?php echo form_error('email'); ?> | ||
</div> | ||
<div class="form-group"> | ||
<label for="location">Location</label> | ||
<input class="form-control" type="text" name="location" value="<?php echo set_value('location'); ?>"/> | ||
<?php echo form_error('location'); ?> | ||
</div> | ||
<div class="form-group"> | ||
<label for="username">Username</label> | ||
<input class="form-control" type="text" name="username" value="<?php echo set_value('username'); ?>"/> | ||
<?php echo form_error('username'); ?> | ||
</div> | ||
<div class="form-group"> | ||
<label for="password">Password</label> | ||
<input class="form-control" type="password" name="password" value="<?php echo set_value('password'); ?>"/> | ||
<?php echo form_error('password'); ?> | ||
</div> | ||
<button type="submit" class="btn btn-primary">Sign Up</button> | ||
</form> | ||
</div> | ||
|
||
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<nav class="navbar navbar-default"> | ||
<div class="container-fluid"> | ||
<div class="navbar-header"> | ||
<a class="navbar-brand" href="/index.php/all_tweets"> | ||
<img class="home-icon" alt="Brand" src="../../img/twitter.png"> | ||
</a> | ||
</div> | ||
<ul class="nav navbar-nav"> | ||
<li><a href="/index.php/all_tweets">Home</a></li> | ||
<li><a href="/index.php/user_tweets">Profile</a></li> | ||
</div> | ||
</nav> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.