English | Русский


Fields with * are required.

Minimal password length 4 symbols.

Select JPG file for uploading:

widget('ext.EAjaxUpload.EAjaxUpload', array( 'id'=>'uploadFile', 'config'=>array( 'action'=>Yii::app()->createUrl('user/profile/uploadphoto'), 'allowedExtensions'=>array("jpg"),//array("jpg","jpeg","gif","exe","mov" and etc... 'sizeLimit'=>10*1024*1024,// maximum file size in bytes //'minSizeLimit'=>10*1024*1024,// minimum file size in bytes //'onComplete'=>"js:function(id, fileName, responseJSON){ alert(fileName); }", //by dvs: insert filename to form 'onComplete'=>"js:function(id, fileName, responseJSON){ $('#Profile_photofile').attr('value', responseJSON.filename); }", //'onComplete'=>"js:function(id, size, responseJSON){ alert(size); }", //'messages'=>array( // 'typeError'=>"{file} has invalid extension. Only {extensions} are allowed.", // 'sizeError'=>"{file} is too large, maximum file size is {sizeLimit}.", // 'minSizeError'=>"{file} is too small, minimum file size is {minSizeLimit}.", // 'emptyError'=>"{file} is empty, please select files again without it.", // 'onLeave'=>"The files are being uploaded, if you leave now the upload will be cancelled." // ), //'showMessage'=>"js:function(message){ alert(message); }" ) )); // :by DVS ?>

Please enter the letters as they are shown in the image above.
Letters are not case-sensitive.