Beispiel #1
0
                </tr>
                <tr align="left" >
                  <td class="label" ><?php 
echo $words->get('ProfilePicture');
?>
:<br/><img src="members/avatar/<?php 
echo $member->Username;
?>
?xs" title="Current picture" alt="Current picture" style="padding: 1em"/></td>
                  <td colspan="3" >
                    <label for="profile_picture"><?php 
echo $words->get('uploadselectpicture');
?>
</label><br />
                    <span class="small"><?php 
echo $words->get('Profile_UploadWarning', sprintf("%.1f MB", PFunctions::returnBytes(ini_get('upload_max_filesize')) / 1048576));
?>
</span><br /><br />
                    <input id="profile_picture" name="profile_picture" type="file" />
                  </td>
                </tr>
                <tr align="left" >
                  <td class="label" ><?php 
echo $words->get('ProfileSummary');
?>
:</td>
                  <td colspan="3" >
                    <textarea name="ProfileSummary" id="ProfileSummary" class="long" cols="50"  rows="6" ><?php 
echo htmlentities($vars['ProfileSummary'], ENT_COMPAT, 'UTF-8');
?>
</textarea>
Beispiel #2
0
echo $postURL;
?>
" class="def-form" id="gallery-img-upload" enctype="multipart/form-data">
    <input type="hidden" name="MAX_FILE_SIZE" value="<?php 
echo PFunctions::returnBytes(ini_get('upload_max_filesize'));
?>
"/>
    <h4><?php 
echo $words->getFormatted('Gallery_UploadInstruction');
?>
</h4>
    <div class="notify"><?php 
echo $words->getFormatted('Gallery_UploadWarning');
?>
 <?php 
printf("%.1f MB", PFunctions::returnBytes(ini_get('upload_max_filesize')) / 1048576);
?>
</div>
    <div id="gallery-img-upload-files">
        <div class="row">
            <input type="file" name="gallery-file[]"/>
        </div>
        <div class="row">
            <input type="file" name="gallery-file[]"/>
        </div>
        <div class="row">
            <input type="file" name="gallery-file[]"/>
        </div>
        <div class="row">
            <input type="file" name="gallery-file[]"/>
        </div>