<input type="hidden" name="cur_profile_pic" value="<?php 
echo @$empt['profile_pic'];
?>
" />

        <?php 
/*<h4 class="heading" style="text-decoration: underline;">Profile Info</h4>*/
?>
        <br />

        <label><b>Profile Pic</b></label>
        <div class="right_fl">
        <div class="in_put" style="display: inline-block; width:338px;">
            <?php 
echo upload_btn('profile_pic', 'validate[funcCall[chck_img]]', 'width:94%;', 'blue_btn', 'display: inline-block; width:100% !important;', 'margin-top:1px; padding:0; height:31px; border:none;', 'width:340px; font-size:19px !important; cursor:pointer; max-width:100%;', 'browse', 'image/*');
?>
            <span class="submsg">(max size 250x250 allowed)</span>
            <div style="clear: both;"></div>

            <img id="profile_thumb" style="margin-top:3px;" width="60" height="60"
            src="<?php 
echo $prof_pic_th;
?>
" alt="Profile Image" class="userDp round_borders" />
            <div style="clear: both;"></div>
            <br /><hr />

        </div>
        </div>
        <div style="clear: both;"></div>
Exemple #2
0
function fi_dirinfo($d, $o)
{
    $id = 'fed' . normalize($d);
    $s = strpos($d, '/');
    $j = 'fifunc___';
    $jx = ajx($d);
    //$ret=btn('popbt',pictxt('folder2',$d)).' ';
    if ($s) {
        $ret .= blj('', $id . 'firnm', $j . 'fi*rename_' . $jx . '_' . $id, fi_pic('rename')) . ' ';
    }
    $ret .= blj('', $id . 'finew', $j . 'fi*newdir_' . $jx . '_' . $id, fi_pic('new')) . ' ';
    if ($s) {
        $ret .= blj('', $id . 'fidld', $j . 'fi*deldir_' . $jx . '_' . $id, fi_pic('delete')) . ' ';
    }
    $ret .= upload_btn($id . 'fiupl', ajx('opdir=' . $d . '&mode=disk'), fi_pic('upload')) . ' ';
    $ret .= blj('', $id . 'upurl', 'plug___upload_upurl_' . ajx($d) . '_' . $id, picto('photo')) . ' ';
    $ret .= fi_plnk($d, $o);
    return $ret;
}
?>
            </div>

            <div id="m_cat_field_div" style="display:none;"><br /><input type="text" id="m_cat_field" name="m_cat" maxlength="70" value="" style="width:250px; border:1px solid #000261;" /><span style="color:#CC0000;">&nbsp;&nbsp;*</span></div>
        </div>


        <div style="clear:both; height:15px;"></div>
        <div style="width:130px; float:left;">&nbsp;</div><div><hr /></div>
        <div style="clear:both; height:15px;"></div>


        <div style="width:130px; float:left;">Image:</div>
        <div style="float:left;">
        <?php 
echo upload_btn('m_image', '', 'width:230px; border:1px solid #000261;', 'button', 'float:left;', 'margin-top:-1px;', 'width:300px !important; font-size:19px !important; cursor:pointer;', 'browse', 'image/*');
?>

        <div style="clear:both; height:3px;"></div>
        <?php 
if (@$empt['m_image'] != '') {
    list($g_width, $g_height) = @getimagesize('../assets/images_2/misc/' . $empt['m_image']);
    ?>
            <div style="float:left;"><a href="../assets/images_2/misc/<?php 
    echo $empt['m_image'];
    ?>
" class="fbox" rel="<?php 
    echo "{$g_width}/{$g_height}";
    ?>
" title="Image">Click here to review the current Image</a></div>
            <div style="clear:both; height:8px;"></div>
Exemple #4
0
function mbd_upload($id)
{
    $id = ses('read');
    $id = $id ? $id : lastid('qda') + 1;
    $ret = input(1, 'upim', 'Url" size="40', '', 1) . ' ';
    $ret .= ljc('', 'popb', 'pop-ajxf_uplim___upim', "ok", 5) . br();
    //?
    $ret .= upload_btn('upl', 'read=' . $id . '_1', 'upload') . ' ';
    $ret .= lj('txtx', 'popup_placeim___' . $id, 'portfolio');
    return $ret;
}