"Escolha..."); $sqlCat = mysql_query("SELECT * FROM site_blog_categorias ORDER BY nome ASC"); while($lnCat = mysql_fetch_assoc($sqlCat)) { $categorias[$lnCat['ID']] = $lnCat['nome']; } $camposNaoDeletar = array("ID", "ordem"); $configs = array( array( "nomeCampo" => "categoriaID", "nomeExib" => "Categoria", "require" => true, "htmlType" => "select", "htmlClass" => "col-md-12", "typeSelect" => $categorias ), array( "nomeCampo" => "titulo", "nomeExib" => "Título", "require" => true, "htmlType" => "text", "htmlClass" => "col-md-6", ), array( "nomeCampo" => "subtitulo", "nomeExib" => "Subtítulo", "require" => true, "htmlType" => "text", "htmlClass" => "col-md-6", "maxCaracter" => 100 ), array( "nomeCampo" => "data_pub", "nomeExib" => "Data da publicação", "require" => true, "htmlType" => "date", "htmlClass" => "col-md-12", "aditionalClass" => "maskData" ), array( "nomeCampo" => "descricao", "nomeExib" => "Descrição da postagem", "require" => true, "htmlType" => "textarea", "htmlClass" => "col-md-12", "editor" => true ), array( "nomeCampo" => "foto", "nomeExib" => "Foto", "require" => true, // true ou false "htmlType" => "file", // Textarea, Text ou File "htmlClass" => "col-md-3 col-lg-2", "width" => array(1000, 275), "height" => array(0, 220), "corte" => array("proporcional", "preenchimento"), // proporcional, crop ou preenchimento "prenome" => array("", "mini_") ), ); $galeria = array( "legenda" => 1, "ativo" => false, "width" => 1000, "height" => 0, "corte" => "proporcional", // proporcional, crop ou preenchimento "thumbs" => true, "thumbsConf" => array( "thumb1" => array("corte" => "crop", "w" => 230, "h" => 170, "prenome" => 'mini') ) ); ?>
| Título | Categoria | Ação | |
|---|---|---|---|
| = ($ln->foto == true) ? ' | ' : '' ?>
titulo; ?> | categoriaID."'"))->nome; ?> | Editar |