<?php
//Created by ARDORA www.webardora.net
//ardoraPoster - introDatos.php
session_start();
$slogin_noauthpage = 0;$slogin_pagetitle = "";
include_once ("para.php");
include_once (profUname.uName."/".uName."_lib.php");
session_cache_limiter("nocache,private");
$fg=$_GET["folderGroup"]; ?>
<!DOCTYPE html>
<html lang="es">
<head><meta charset="utf-8"/><title></title>
<!--CSS--><link type="text/css" href="../ardoraFiles/ui-themes/emerald/ui.all.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="../css/ardoraPoster.css" media="all" />
<script type="text/javascript" src="../ardoraFiles/js/jquery.js"></script>
<script type="text/javascript" src="../ardoraFiles/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="../ardoraFiles/js/jquery.ui.touch-punch.js"></script>
<script type="text/javascript" src="../js/ardoraButtonsCtrl.js"></script>
<script type="text/javascript" src="../js/ardoraPoster.js"></script>
<script type="text/javascript" src="../js/ardoraPosterDlg.js"></script>
<script type="text/javascript" src="../js/ardoraPosterCtrl.js"></script>
<script type="text/javascript" src="../js/ardoraPosterCanvas.js"></script>
</head>
<body>
<div id="path"><?php echo $fg ?></div><div id="errorOpen" class="ui-state-error ui-corner-all">
<p><span class="ui-icon ui-icon-alert"></span>Xa aberto</p></div>
<div id="editProperties" title="Propiedades">
<form id="eProperties" name="eProperties" method="post" action="<?php echo ('uploadImaPro.php?indi='.$ele.'&folderG='.$fg)?>" enctype="multipart/form-data">
<label for="imaxenProper" >Arquivo imaxe</label><input name="imaxenProper" type="file" id="imaxenProper" class="ui-corner-all" />
<div class="clear"></div><iframe id="estadoUpLoadPro" name="estadoUpLoadPro" src=""></iframe><div id="loadingPro"></div>
<div class="clear"></div><div class="clear"></div><img id="ImgProperties"/><div class="clear"></div>
<label for="comentaProper" >Comentario</label>
<input type="text" maxlength="20"  name="comentaProper" id="comentaProper" style="width:100px;;" class="text ui-widget-content ui-corner-all">
<div class="clear"></div><div id="errorFileNAPro" class="ui-state-error ui-corner-all" style="visibility:hidden;">
<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>Tipo de arquivo non permitido</p>
</div></form></div>
<div id="backGroundDialog" title="Fondo">
<form id="entraFondo" name="entraFondo" method="post" action="<?php echo ('uploadBack.php?indi='.$ele.'&folderG='.$fg)?>" enctype="multipart/form-data">
  <input name="haiImaxenBack" id="haiImaxenBack" type="checkbox" value="" />
  <label for="imaxenBack" >Archivo imagen</label><input name="imaxenBack" type="file" id="imaxenBack" class="ui-corner-all" />
   <div class="clear"></div>
   <iframe id="estadoUpLoadBack" name="estadoUpLoadBack" src=""></iframe><div id="loadingBack"></div>
   <div class="clear"></div><div class="clear"></div>
   <label for="colorBack">Cor </label>
   <input type="color" name="colorBack" id="colorBack" class="colorButton text ui-widget-content ui-corner-all" value="#fffff"/>
   <div class="clear"></div><div class="clear"></div><label for="positionBack" >Posición</label>
   <select name="positionBack" id="positionBack" class="text ui-widget-content ui-corner-all">
   <option value="bottom">bottom</option><option value="center">center </option><option value="inherit">inherit</option>
   <option value="left">left</option><option value="right">right</option><option value="top">top</option>
   </select><label for="repeatBack" >Repeat</label>
   <select name="repeatBack" id="repeatBack" class="text ui-widget-content ui-corner-all">
      <option value="repeat">repeat</option><option value="no-repeat">no-repeat</option><option value="inherit">inherit</option>
      <option value="repeat-x">repeat-x</option><option value="repeat-y">repeat-y</option>
   </select><div class="clear"></div>
   <div id="errorFileNABack" class="ui-state-error ui-corner-all" style="visibility:hidden;">
      <p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>Tipo de arquivo non permitido</p>
</div></form></div>
<div id="borrarDialog" title="Borrar"><p> Realmente desexas borrar</p></div>
<div id="editarDialog" class="dialogW" title="Propiedades">
  <form id="editarTexto" name="editarTexto"  method="post">
    <textarea id="texto" name="texto"  class="text ui-widget-content"></textarea>
    <label for="textoAncho" >Tamaño</label>
    <input type="Text" name="textoAncho" id="textoAncho" class="text ui-widget-content" onkeypress="return permite(event, 'num')">
    <label for="textoAlto" >X  </label>
    <input type="Text" name="textoAlto" id="textoAlto" style="width:30px;;" class="text ui-widget-content ui-corner-all" onkeypress="return permite(event, 'num')">
    <label for="autoW" >autoajustar</label>
    <input name="autoW" id="autoW" type="checkbox" value="" checked="checked"/>
    <div class="clear"></div><div class="clear"></div><label for="fontName" >Fonte</label>
    <select name="fontName" id="fontName" class="text ui-widget-content ui-corner-all">
      <option value="Arial,Helvetica,sans-serif">Arial, Helvetica, sans-serif</option>
      <option value="'Arial Black',Gadget,sans-serif">'Arial Black', Gadget, sans-serif </option>
      <option value="'Arial Narrow',sans-serif">'Arial Narrow', sans-serif</option>
      <option value="Century Gothic,sans-serif">Century Gothic, sans-serif</option>
      <option value="Copperplate,Copperplate Gothic Light,sans-serif">Copperplate, Copperplate Gothic Light, sans-serif</option>
      <option value="'Courier New',Courier,monospace">'Courier New', Courier, monospace</option>
      <option value="Georgia,Serif">Georgia, Serif</option>
      <option value="Gill Sans,Gill Sans MT,sans-serif">Gill Sans, Gill Sans MT, sans-serif</option>
      <option value="Impact,Charcoal,sans-serif">Impact, Charcoal, sans-serif</option>
      <option value="'Lucida Console',Monaco,monospace">'Lucida Console', Monaco, monospace</option>
      <option value="'Lucida Sans Unicode','Lucida Grande',sans-serif">'Lucida Sans Unicode', 'Lucida Grande', sans-serif</option>
      <option value="'Palatino Linotype','Book Antiqua',Palatino,serif">'Palatino Linotype', 'Book Antiqua', Palatino, serif</option>
      <option value="Tahoma,Geneva,sans-serif">Tahoma, Geneva, sans-serif</option>
      <option value="'Times New Roman',Times,serif">"Times New Roman", Times, serif</option>
      <option value="'Trebuchet MS',Helvetica,sans-serif">'Trebuchet MS', Helvetica, sans-serif</option>
      <option value="Verdana,Geneva,sans-serif">Verdana, Geneva, sans-serif</option>
    </select>
    <label for="tamano" >Tamaño</label>
    <input type="Text" name="tamano" id="tamano" style="width:30px;;" class="text ui-widget-content ui-corner-all" onkeypress="return permite(event, 'num')">
    <label for="negrilla" style="font-weight:bold;">N: </label><input name="negrilla" id="negrilla" type="checkbox" value=""/>
    <label for="italica" style="font-style:italic;">I: </label><input name="italica" id="italica" type="checkbox" value="" />
    <input name="colorLetra" id="colorLetra" class="colorButton" type="color" value="#00000">
    <label for="xiro" >Giro</label>
    <input type="Text" name="xiro" id="xiro" style="width:30px;;" class="text ui-widget-content ui-corner-all" onkeypress="return permite(event,'numN')">
    <div class="clear"></div><label for="fontAli" style="margin-right:10px;">Posición</label>
    <select name="fontAli" id="fontAli" class="text ui-widget-content ui-corner-all">
      <option value="left">left</option><option value="right">right</option><option value="center">center</option><option value="justify">justify</option>
    </select>
    <label for="sombraTexto" >shadow</label><input name="sombraTexto" id="sombraTexto" type="checkbox" value=""/>
    <div class="clear"></div><div class="clear"></div><label for="transparencia" >Transparencia</label>
      <input type="text" name="transparencia" id="transparencia" style="width:30px;;" class="text ui-widget-content ui-corner-all" onkeypress="return permite(event, 'numD')">
      <label for="borde" >border</label>
      <input type="Text" name="borde" id="borde" style="width:30px;;" class="text ui-widget-content ui-corner-all" onkeypress="return permite(event, 'num')">
      <div class="clear"></div><div class="clear"></div>
<label for="corFondo">Fondo</label><input name="corFondo" id="corFondo" class="colorButton" type="color" value="#fffff">
      <label for="transparente">Transparendia</label><input name="transparente" id="transparente" type="checkbox" value="" checked />
      <label for="sombraBorde" >shadow</label><input name="sombraBorde" id="sombraBorde" type="checkbox" value=""/>
      <div class="clear"></div><div class="clear"></div>
      <label for="url" >Link: </label><input type="url" name="url" id="url" style="width:300px;;" class="text ui-widget-content ui-corner-all">
      <input name="newItem" id="newItem" type="checkbox" style="visibility:hidden" value="" checked />
  </form></div>
  <div id="embedNew" class="dialogW" title="Embed code">
    <form id="entraEmbed" name="entraEmbed"  method="post">
    <label for="codigoEmbed" style="margin-right:10px;">Pulse con el botón derecho y "pegue" el código.</label>
    <textarea id="codigoEmbed" name="codigoEmbed" style="width:350px; height:200px;" class="text ui-widget-content ui-corner-all"></textarea>
  </form></div>
  <div id="imageNew" title="Propiedades">
     <form id="entraImaxe" name="entraImaxe" method="post" action="<?php echo ('uploadImage.php?indi='.$ele.'&folderG='.$fg)?>" enctype="multipart/form-data">
        <div id="aImaxen">
        <label for="imaxen">Arquivo</label><input id="imaxen" name="imaxen" type="file" class="ui-corner-all"/>
        <iframe id="estadoUpLoad" name="estadoUpLoad" src="" style="height:1px"></iframe><div id="loading"></div>
 	 <div class="clear"></div><div class="clear"></div>
        <label for="anchoOriginal">Tamaño - orixinal</label>
        <input type="Text" name="anchoOriginal" id="anchoOriginal" style="width:30px;" class="text ui-widget-content ui-corner-all" onkeypress="return permite(event, 'num')" value="500">
 	 <label for="anchoThumb">miniatura</label>
        <input type="Text" name="anchoThumb" id="anchoThumb" style="width:30px;" class="text ui-widget-content ui-corner-all" onkeypress="return permite(event, 'num')" value="200">
        </div>
        <div class="clear"></div><div class="clear"></div>
        <label for="comentaImaxen" >Comentario</label>
        <input type="text" name="comentaImaxen" id="comentaImaxen" style="width:250px;;" class="text ui-widget-content ui-corner-all">
        <div class="clear"></div><label for="altImaxen" >Alternativa</label>
        <input type="text" name="altImaxen" id="altImaxen" style="width:250px;;" class="text ui-widget-content ui-corner-all">
        <div class="clear"></div><label for="xiroImg" >Giro</label>
        <input type="Text" name="xiroImg" id="xiroImg" style="width:30px;;" class="text ui-widget-content ui-corner-all" onkeypress="return permite(event, 'numN')" value="0">
        <label for="fontAliImg" style="margin-right:10px;">Posición</label>
        <select name="fontAliImg" id="fontAliImg" class="text ui-widget-content ui-corner-all">
        <option value="left">left</option><option value="right">right</option><option value="center" selected="center">center</option>
     </select><div class="clear"></div><div class="clear"></div>
     <label for="transparenciaImg" >Transparencia</label>
     <input type="text" name="transparenciaImg" id="transparenciaImg" style="width:30px;;" class="text ui-widget-content ui-corner-all" onkeypress="return permite(event, 'numD')" value="1">
     <label for="bordeImg" >border</label>
     <input type="Text" name="bordeImg" id="bordeImg" style="width:30px;;" class="text ui-widget-content ui-corner-all" onkeypress="return permite(event, 'num')" value="2">
     <label for="corBordeImg">Cor</label>
     <input type="color" name="corBordeImg" id="corBordeImg" class="colorButton" value="#000000"/>
     <div class="clear"></div><div class="clear"></div>
     <label for="corFondoImg">Fondo</label>
     <input type="color" name="corFondoImg" id="corFondoImg" class="colorButton" value="#ffffff"/>
     <label for="transparenteImg">Transparendia</label><input name="transparenteImg" id="transparenteImg" type="checkbox" value="" checked />
     <label for="sombraBordeImg" >shadow</label><input name="sombraBordeImg" id="sombraBordeImg" type="checkbox" value="" checked/>
     <input name="newImg" id="newImg" type="checkbox" style="visibility:hidden" value="" checked />
     <div class="clear"></div><div class="clear"></div>
     <label for="urlImaxen" >Ligazón</label><input type="url" name="urlImaxen" id="urlImaxen" style="width:300px;;" class="text ui-widget-content ui-corner-all">
    </form><div class="clear"></div>
    <div id="errorFileNAImg" class="ui-state-error ui-corner-all" style="visibility:hidden;">
    <p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>Tipo de arquivo non permitido</p>
</div></div>
<div id="mediaNew" class="dialogW" title="Audio - video">
   <form id="entraMedia" name="entraMedia"  method="post" action="<?php echo ('uploadFile.php?indi='.$ele.'&folderG='.$fg)?>" enctype="multipart/form-data">
   <label for="media">Archivo de video/Archivo sonido</label>
   <input id="media" name="media" type="file" class="ui-corner-all"/><input name="isAudio" id="isAudio" type="checkbox" style="visibility:hidden" value="" checked />
   <iframe id="estadoUpLoadMedia" name="estadoUpLoadMedia" src="" style="height:1px"></iframe><div id="loadingMedia"></div>
   </form><div class="clear"></div>
   <div id="errorFileNA" class="ui-state-error ui-corner-all" style="visibility:hidden;">
     <p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>Tipo de arquivo non permitido</p>
</div></div>
<div id="drawBar" class="drawBarClassR fg-toolbar ui-widget-header ui-corner-all ui-helper-clearfix">
<div id="bDrawSave" class="buttonTopSep buttonDraw fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="" onclick="javascript:crearNuevoCanvas()">
<span class="ui-icon ui-icon-check"></span></div>
<div id="drawPen" class="buttonTopSep buttonDraw fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="" onclick="javascript:selectPen()"></div>
<div id="drawRectangle" class="buttonTopSep buttonDraw fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="" onclick="javascript:selectRectangle()"></div>
<div id="drawLine" class="buttonTopSep buttonDraw fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="" onclick="javascript:selectLine()"></div>
<div id="drawCircle" class="buttonTopSep buttonDraw fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="" onclick="javascript:selectCircle()"></div>
<div id="drawPoly" class="buttonTopSep buttonDraw fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="" onclick="javascript:selectPoly()"></div>
<div id="drawPoint" class="buttonTopSep buttonDraw fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="" onclick="javascript:selectPoint()"></div>
<div id="drawColor" class="buttonTopSep buttonDraw fg-button ui-state-default fg-button-icon-solo ui-corner-all" title=""><span ></span></div>
<div id="bdrawWidth" title="" onclick="javascript:showSlide()"><p><input type="text" id="amount" style="border:0; color:#f6931f; font-weight:bold; width:20px; padding-top:5px; cursor:pointer;"/></p></div>
<div id="drawFill" class="buttonTopSep buttonDraw fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="" onclick="javascript:selectFill()"></div>
<div id="bDrawCancel" class="buttonTopSep buttonDraw fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="" onclick="javascript:cancelaNuevoCanvas()"><span class="ui-icon ui-icon-closethick"></span></div>
<div id="bDrawSide" class="buttonTopSep buttonDraw fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="" onclick="javascript:drawSideChange()"  style="margin-top:12px"><span class="ui-icon ui-icon-arrowthickstop-1-w"></span>
</div></div>
<div id="drawSliderBar" class="drawSliderBarClassR fg-toolbar ui-widget-header ui-corner-all ui-helper-clearfix"><div id="sliderCanvas"></div></div>
<div id="drawSliderPoly" class="drawSliderBarClassR fg-toolbar ui-widget-header ui-corner-all ui-helper-clearfix"><div id="sliderPoly"></div></div>
<div id="buttonTopBar" class="fg-toolbar ui-widget-header ui-corner-all ui-helper-clearfix">
<div id="bNewBackGround" class="buttonTopSep fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="Fondo"><span class="ui-icon ui-icon-contact"></span></div>
<div id="bNewText" class="buttonTop fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="Engadir texto"><span class="ui-icon ui-icon-comment"></span></div>
<div id="bNewImage" class="buttonTop fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="Engadir imaxe"><span class="ui-icon ui-icon-image"></span></div>
<div id="bNewCanvas" style=" margin-left:80px;" class="buttonTop fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="Pintar"><span class="ui-icon ui-icon-pencil"></span></div>
<div id="jobTitle" class="buttonTop fg-button ui-state-active  ui-corner-all">TS</div>
<div id="bCloseButtonTopBar" class="buttonTop fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="Ocultar" style="float:right;" onclick="javascript:closeToolBar()">
<span class="ui-icon ui-icon-arrowthickstop-1-s"></span></div>
<div id="buserDataText" class="buttonTop fg-button ui-state-active  ui-corner-all" style="width:auto; float:right; padding-left:10px; padding-right:10px; cursor:default;">
<?php echo dameValor($slogin_Username,"NOM")." ".dameValor($slogin_Username,"CUR")." ".dameValor($slogin_Username,"GRU"); ?></div>
<div id="bRefresh" class="buttonTop fg-button ui-priority-primary fg-button-icon-solo ui-corner-all" style="float:right;" title="" onclick="javascript:doRefresh()">
<span class="ui-icon ui-icon-arrowrefresh-1-s"></span></div>
<div id="bGoBack" class="buttonTop fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="Inicio" style="float:right;" onclick="javascript:GoBack()">
<span class="ui-icon ui-icon-arrowreturnthick-1-w"></span></div>
<div id="bProperties" class="buttonTop fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="Propiedades" style="float:right;" onclick="javascript:editProperties()">
<span class="ui-icon ui-icon-tag"></span></div>
</div>
<div id="pizarra" class="ui-widget-content ui-corner-all"><canvas id="canvas01" width="0px" height="0px"></canvas>
<div id="lefttop" class="pullLT fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="">
<span class="ui-icon ui-icon-arrowthick-2-se-nw""></span></div>
<div id="righttop" class="pullRT fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="">
<span class="ui-icon ui-icon-arrowthick-2-ne-sw"></span>  </div>
<div id="leftbottom" class="pullLB fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="">
<span class="ui-icon ui-icon-arrowthick-2-ne-sw"></span>  </div>
<div id="rightbottom" class="pullRB fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="">
<span class="ui-icon ui-icon-arrowthick-2-se-nw"></span>  </div>
<div id="xira" class="pullXira fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="">
<span class="ui-icon ui-icon-arrowrefresh-1-s"></span>  </div>
<div id="borrar" class="pullBorrar fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="">
<span class="ui-icon ui-icon-trash"></span>  </div>
<div id="edita" class="pullEdita fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="">
<span class="ui-icon ui-icon-wrench"></span>  </div>
<div id="grava" class="pullGrava fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="">
<span class="ui-icon ui-icon-check"></span>  </div>
<div id="cancela" class="pullCancela fg-button ui-state-default fg-button-icon-solo ui-corner-all" title="">
<span class="ui-icon ui-icon-closethick"></span>  </div>
<div id="openTextTool" class="pullTextTool fg-button ui-state-default fg-button-icon-solo ui-corner-all" title=""></div>
<div id="areaTextTool" class="fg-toolbar ui-widget-header ui-corner-all ui-helper-clearfix">
<button id="opaMais"><span class="contrast_p ui-icon"></span></button><button id="opaMenos"><span class="contrast_m ui-icon"></span></button>
<button id="Agrande">A</button><button id="Apeque">A</button><button id="bold">B</button><button id="italic">I</button>
<input name="fontColor" id="fontColor" class="colorButton" type="color" value="#00000">
<button id="text_l"><span class="btext_l ui-icon"></span></button><button id="text_r"><span class="btext_r ui-icon"></span></button>
<button id="text_c"><span class="btext_c ui-icon"></span></button><button id="text_j"><span class="btext_j ui-icon"></span></button>
<button id="border1"><span class="photo_add ui-icon"></span></button><button id="border0"><span class="photo_delete ui-icon"></span></button>
<input name="backColor" id="backColor" class="colorButton" type="color" value="#ffffff">
<button id="backTrans"><span class="shape_square_delete ui-icon"></span></button>
</div></div>
<div id="addTextNew" class="newTextDrag" title=""></div>
<div id="addEmbedNew" class="newEmbedDrag" title=""></div>
<div id="addImageNew" class="newImageDrag" title="">
<span style=" display: inline-block; margin-right: -1px; vertical-align: middle; height:0px; width: 1px; visibility:hidden;"></span></div>
<div id="addMediaNew" class="newMediaDrag" title="">
<span style=" display: inline-block; margin-right: -1px; vertical-align: middle; height:0px; width: 1px; visibility:hidden;"></span></div>
</body></html>
