diff options
Diffstat (limited to 'views/Profile')
-rw-r--r-- | views/Profile/add.html.php | 4 | ||||
-rw-r--r-- | views/Profile/edit.html.php | 6 | ||||
-rw-r--r-- | views/Profile/view.html.php | 31 |
3 files changed, 0 insertions, 41 deletions
diff --git a/views/Profile/add.html.php b/views/Profile/add.html.php deleted file mode 100644 index 76744b9..0000000 --- a/views/Profile/add.html.php +++ /dev/null @@ -1,4 +0,0 @@ -<?= $this->form->create($photo, array('type' = > 'file')); ?> -<h1>Upload a photo</h1> - <?= $this->form->field('file', array('type' => 'file')); ?> - <? $this->form->end(); ?>
\ No newline at end of file diff --git a/views/Profile/edit.html.php b/views/Profile/edit.html.php deleted file mode 100644 index 6e0a2b2..0000000 --- a/views/Profile/edit.html.php +++ /dev/null @@ -1,6 +0,0 @@ -<?= $this->form->create($profile); ?> - <?= $this->form->field('firstname', array('type' => 'text')); ?> - <?= $this->form->field('lastname', array('type' => 'text')); ?> - <?= $this->form->field('birthday', array('type' => 'text')); ?> - <?= $this->form->submit('save'); ?> -<?= $this->form->end(); ?>
\ No newline at end of file diff --git a/views/Profile/view.html.php b/views/Profile/view.html.php deleted file mode 100644 index 341f4a9..0000000 --- a/views/Profile/view.html.php +++ /dev/null @@ -1,31 +0,0 @@ -<?= $this->form->create($photo, array('type' => 'file')); ?> - <?php if($photo): ?> - <?= $this->form->label("This is you"); ?> - <?php else: ?> - <h1>Upload a photo</h1> - <?= $this->form->field('file', array('type' => 'file')); ?> - <?php endif; ?> -<?= $this->form->end(); ?> -<h1> <?= $user->username ?> </h1> -<hr/> -profile views: <?= $user->profileViews ?><br/> -Last Online: <?= (empty($user->lastLogin)) ? "Never" : date('m/d/y', $user->lastLogin->sec); ?><br/> -<?php if (!empty($profile)): ?> - <?php foreach($profile as $key => $value): ?> - <?= $key ?> : <?= $value ?> - <?php endforeach; ?> -<?php else: ?> -<?= $this->html->link('Click to edit profile', "/profile/edit/$user->username"); ?> -<?php endif; ?> - -<h2>Recently Watched</h2> -<hr /> -<table class="table"> -<?php $count = (count($history > 10)) ? 10 : count($history); -for ($i = 0; $i < $count; $i++): ?> -<tr> -<td><?= $this->html->link($history[$i]["series_title"], '/animelist/$user->username/opinion'); ?></td> -<td><?= $history[$i]["my_finish_date"] ?></td> -</tr> -<?php endfor; ?> -</table>
\ No newline at end of file |