2 /************************************************************************/
\r
4 /************************************************************************/
\r
5 /* Copyright (c) 2002-2010 */
\r
6 /* Inclusive Design Institute */
\r
7 /* http://atutor.ca */
\r
9 /* This program is free software. You can redistribute it and/or */
\r
10 /* modify it under the terms of the GNU General Public License */
\r
11 /* as published by the Free Software Foundation. */
\r
12 /************************************************************************/
\r
13 // $Id: profile_picture.html.php 9418 2010-03-03 16:39:24Z greg $
\r
14 if (!defined('AT_INCLUDE_PATH')) { exit; } ?>
\r
15 <div class="social-wrapper">
\r
16 <?php include("lib/profile_menu.inc.php") ?>
\r
18 <form method="post" enctype="multipart/form-data" action="<?php echo $_SERVER['PHP_SELF']; ?>?member_id=<?php echo $this->member_id; ?>" name="form">
\r
19 <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $_config['prof_pic_max_file_size']; ?>" />
\r
20 <div class="input-form">
\r
21 <?php if (profile_image_exists($this->member_id)): ?>
\r
23 <a href="get_profile_img.php?id=<?php echo $this->member_id.SEP.'size=o'; ?>"><img src="get_profile_img.php?id=<?php echo $this->member_id; ?>" alt="" /></a>
\r
24 <input type="checkbox" name="delete" value="1" id="del"/><label for="del"><?php echo _AT('delete'); ?></label>
\r
28 <h3><label for="upload_picture"><?php echo _AT('upload_new_picture'); ?></label></h3>
\r
29 <input type="file" name="file" id="upload_picture"/> (<?php echo implode(', ', $this->supported_images); ?>)</div>
\r
31 <div class="row buttons">
\r
32 <input type="submit" name="submit" value="<?php echo _AT('save'); ?>" />
\r
33 <input type="submit" name="cancel" value="<?php echo _AT('cancel'); ?>" />
\r
37 <div style="clear:both;"></div>
\r