示例#1
0
<?php

/**
*
* myteam
*
* @Versão 1.0
* @Licença http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
if (!empty($_POST) && isset($_GET['id'])) {
    $apigem = new api();
    $apigem->iniciaApi('fileup');
    $file = new fileup();
    $file->diretorio = '../uploads/myteam/';
    $file->up();
    echo jf_update(appTabela, $_POST, array('id' => $_GET['id']));
    header('location:' . $_ll['app']['home']);
}
示例#2
0
 function ssfa_fileup($atts)
 {
     $fileup = new fileup();
     return $fileup->sc($atts);
 }
示例#3
0
文件: step.php 项目: jomadee/myteam
echo $tagTag;
?>
			</div>
			
			<div>
				<label>Description</label>
				<textarea name='text'>
				<?php 
echo $dados['text'];
?>
				</textarea>  
			</div>
			
			<div>
				<?php 
$file = new fileup();
$file->titulo = array('Photo');
$file->rotulo = array('Select a photo');
$file->registro = array($dados['photo']);
$file->campo = array('photo');
$file->extencao = 'png jpg';
$file->form();
?>
			</div>

		</fieldset>
		<div class="botoes">
			<button type="submit" class="confirm">Save</button>
			<a href="<?php 
echo $_ll['app']['home'];
?>