Esempio n. 1
0
						}
						else
						{
							$celda="#FFFFFF";
							$vinculo=1;
						}
					}//Fin de while de etapa

                    ?>
                    <tr class="odd-row" style="background-color:<?php echo $celda; ?>;">
                		<td class="list-column-left">
                        <?php if($myrowopt[marcado]==1){echo "<span class='label-overdue'>".$myrowopt[motivo]."</span>";} ?>
                        <span class="task-title"><?php if($vinculo==1){?><a href="modulos/oportunidades/forminsert.php?id=<?php echo $myrowopt[id_oportunidad]; ?>&o=U&a=oP&an=<?php echo $rwanalisis[id_analisis]; ?>&e=<?php echo $myrowexp[id_expediente]; ?>&organizacion=<?php echo $rworg[clave_organizacion];?>"><?php echo $nombre_oportunidad." ".$tipo.$monto.$plazo; ?> </a> <?php } else { echo $nombre_oportunidad." ".$tipo.$monto.$plazo; } ?></span> para <?php if($rworg[tipo_persona]){?> <span class="highlight"><?php echo $rworg[tipo_persona][0]; ?> </span> <?php } ?><a href="modulos/organizaciones/detalles.php?organizacion=<?php echo $rworg[clave_organizacion]; ?>"><?php echo $rworg[organizacion]; ?></a>
                        <br /><span class="subtext">Destino del crédito: <?php if($myrowopt[destino_credito]){echo $myrowopt[destino_credito];}else{echo "Sin especificar";} ?></span><?php list($link,$autorizacion) = vinculos($rworg[clave_organizacion],$myrowopt[id_oportunidad],$myrowopt[id_etapa],D,1,$responsable); echo $link; ?>
                       
						<?php list ($barra, $campos) = barra($rworg[clave_organizacion],$myrowopt[clave_oportunidad],1); echo $barra;echo "<span class='subtext'>".number_format($campos,0)."%</span>"; ?>
                       
                        </td>
                        <td class=" list-column-left"><span class="highlight" style="background-color:#<?php echo $myrowcolor[color];?>;">
<?php echo $etapa; ?></span></td>
                	</tr>
                    <?
                $link = ""; $documentos = ""; $analisis = ""; $avanzar = ""; $retroceder = ""; 
				}
                ?>
                </tbody>
                </table>
            </fieldset>
            
			<?php
			if($_SESSION["Tipo"]!="Promotor"&&$_SESSION["Tipo"]!="Supervisor")//Gráfica de Procesos para usuarios administradores
Esempio n. 2
0
    }
    ?>
                        <br />
                        <span class="subtext">Destino del crédito: <?php 
    if ($myrowopt[destino_credito]) {
        echo $myrowopt[destino_credito];
    } else {
        echo "Sin especificar";
    }
    ?>
</span><?php 
    list($link, $autorizacion) = vinculos($myrowopt[clave_organizacion], $myrowopt[id_oportunidad], $myrowopt[id_etapa], P, 2, $responsable);
    echo $link;
    ?>
                        <?php 
    list($barra, $campos) = barra($myrowopt[clave_organizacion], $myrowopt[clave_oportunidad], 2);
    echo $barra;
    echo "<span class='subtext'>" . number_format($campos, 0) . "%</span>";
    ?>
                        </td>
<td class=" list-column-left">
                        <span class="highlight" style="background-color:#<?php 
    if ($id_etapa != 10 && $id_etapa != 11) {
        echo $myrowcolor[color];
    } else {
        echo "C1C1C1";
    }
    ?>
;">
                        <?php 
    echo $etapa;
<?php

define('DS', DIRECTORY_SEPARATOR);
function barra($caminho)
{
    echo $caminho . PHP_EOL;
    $retorno = preg_replace('/[\\\\]/', DS, $caminho);
    echo $retorno . PHP_EOL;
    return $retorno;
}
$subir_local = barra($_POST['subir_local']);
$subir_servidor = barra($_POST['subir_servidor']);
$baixar_servidor = barra($_POST['baixar_servidor']);
$baixar_local = barra($_POST['baixar_local']);
$servidor_ftp = $_POST['servidor_ftp'];
$porta_ftp = $_POST['porta_ftp'];
$login_ftp = $_POST['login_ftp'];
$senha_ftp = $_POST['senha_ftp'];
// Abrir o arquivo XML e gravar as informa��es nele
$xml = new SimpleXMLElement('<?xml version="1.0" ?><movimento />');
$xml_subir = $xml->addChild('subir');
$xml_subir->addChild('local', $subir_local);
$xml_subir->addChild('server', $subir_servidor);
$xml_baixar = $xml->addChild('baixar');
$xml_baixar->addChild('server', $baixar_servidor);
$xml_baixar->addChild('local', $baixar_local);
$xml_acesso = $xml->addChild('acesso');
$xml_acesso->addChild('server', $servidor_ftp);
$xml_acesso->addChild('porta', $porta_ftp);
$xml_acesso->addChild('login', $login_ftp);
$xml_acesso->addChild('password', $senha_ftp);
Esempio n. 4
0
     $res .= "<span class='highlight' title='" . $tipoorg . "'>" . $tipoorg[0] . " </span>";
 }
 $res .= "<a href='../organizaciones/detalles.php?organizacion=" . $row[clave_organizacion] . "'>" . $organizacion . "</a> ";
 if ($_SESSION[Tipo] != "Promotor") {
     $res .= "<span class='highlight' style='background-color:#9FC733'>" . $agente . "</span>";
 }
 $res .= "<br /><span class='subtext'>Destino del crédito: ";
 if ($row[destino_credito]) {
     $res .= $myrowopt[destino_credito];
 } else {
     $res .= "Sin especificar";
 }
 $res .= "</span>";
 list($link, $autorizacion) = vinculos($row[clave_organizacion], $row[id_oportunidad], $row[id_etapa], P, 2, $responsable);
 $res .= $link;
 list($barra, $campos) = barra($row[clave_organizacion], $row[clave_oportunidad], 2);
 $res .= " " . $barra . "<span class='subtext'>" . number_format($campos, 0) . "%</span>";
 $res .= "</td>\n<td class='list-column-left'><span class='highlight' style='background-color:";
 if ($id_etapa != 10 && $id_etapa != 11) {
     $res .= "#" . $myrowcolor[color];
 } else {
     $res .= "#C1C1C1";
 }
 $res .= "'>" . $etapa . "</span></td>\n<td class='list-column-center'><span class='highlight' style='background-color:";
 if ($id_etapa != 10 && $id_etapa != 11) {
     $res .= $resaltado;
 } else {
     $res .= "#C1C1C1";
 }
 $res .= "' title='" . htmlentities(strftime('%A, %d de %B', strtotime($row[fecha_captura]))) . "'>" . $antiguedad . "</span></td>\n<td class='list-column-left'>";
 if ($id_etapa == 10 || $id_etapa == 11) {