?> </div> <? } else if (strtoupper( substr( $campo ,0,4 ) ) == strtoupper("data") ){?> <div style="float:left"> <label for="name" style="margin-left:10px;"><strong><span class="blue">*</span> <?php echo utf8_encode(ucwords(trim(TirarUnderline($campo)))); ?> : </strong></label> <input id="<?php echo mysql_field_name($tabela, $j); ?> " name="<?php echo $campo; ?> " type="text" value="<?php echo @Mostra_Data(mysql_result($tabela, 0, $campo)); ?> " size="20" /> </div> <? $datapicker .= "$(\"#".mysql_field_name($tabela,$j)."\").datepicker({showOn: 'button',dateFormat: 'dd/mm/yy' , buttonImage: 'jquery/jquery-ui-1.8.5/css/ui-lightness/images/calendar.gif', buttonImageOnly: true});" ;?> <? $mask .= "$('input[name=".$campo."]').setMask('date');"; ?> <? } else if ( strtoupper( $campo ) == strtoupper("descricao") or strtoupper( substr( $campo ,0,3) ) == strtoupper( "obs") ){?> <div align="left" style="clear:both;margin:10px;"><label for="name" ><strong><span class="blue">*</span> <?php echo ucwords(trim(TirarUnderline($campo))); ?> : </strong></label><div style="clear:both;"></div>
?> <option <? if ($status_R =="CRIAR-TEXTO" ) echo "selected"; ?> value="CRIAR-TEXTO">Criar texto</option> <option <? if ($status_R =="TEXTO-ANDAMENTO" ) echo "selected"; ?> value="TEXTO-ANDAMENTO">Texto em Andamento</option> <option <? if ($status_R =="TEXTO-CRIADO" ) echo "selected"; ?> value="TEXTO-CRIADO">Texto Criado</option> <? } ?> </SELECT> <br> <div style="background:#C8C8E8;padding:2px;" > Para Corrigir: <br> <input name="data_material_producao" id="data_material_producao" value="<? echo @mysql_result($tabela,0,'data_material_producao') == ""? "": Mostra_Data(mysql_result($tabela,0,'data_material_producao') ) ; ?>" size=20 ><br> *Colocar a Data maior que hoje. </div> <INPUT class="button" type=submit value="Salvar:"> <INPUT name="acao" type=hidden id="acao5" value="R"> <input name="id" type=hidden id="id5" value=<? echo @$id; ?>> </FORM></TD> </TR> </TBODY> </TABLE> </fieldset> <? }
$status_atend = mysql_result($tabela,$x,'status'); $categoria = mysql_result($tabela,$x,'categoria'); $data_cha = mysql_result($tabela,$x,'data_cha'); $data_prazo = mysql_result($tabela,$x,'data_prazo'); $id_cargos = mysql_result($tabela,$x,'id_cargos'); $layout = mysql_result($tabela,$x,'layout'); $id_atendimento = mysql_result($tabela,$x,'id_atendimento'); $data_entrega_cricao= mysql_result($tabela,$x,'data_entrega_cricao'); ?> <tr class="<? echo $status_p; ?>" border="1" <? if (CargoUsuario($conexao,$sslogado) == "Criacao" ) { ?> onclick='self.location=("detalhes.php?id=<? echo $id_chamado; ?>");' style="cursor:pointer;" <? } ?> > <td><a href="detalhes.php?id=<? echo $id_chamado; ?>"><span class="small"><? echo $id_chamado; ?></span></a></td> <td><span class="small" style="font-size:18px; font-weight:bold;"><? echo Mostra_Data( $layout ); ?></span></td> <td><span class="small" style="font-size:18px; font-weight:bold;"><? echo Mostra_Data( $data_entrega_cricao ); ?></span></td> <td><span class="small"><? echo $status_p; ?></span></td> <td><a href="detalhes.php?id=<? echo $id_chamado; ?>"><span class="small"><? echo $titulo; ?></span></a></td> <td><span class="small"><? echo NomeCliente($conexao,$id_clientes); ?></span></td> <td><span class="small"><? echo NomeUsuario($conexao,$id_atendimento); ?></span></td> <td><span class="small"><? echo NomeUsuario($conexao,$id_criacao); ?></span></td> <td><span class="small"><? echo MostraNomeCargo($conexao,$id_cargos) ?></span></td> <td><? $sql2 = "Select * FROM c_chamado_alerta where id_chamado = $id_chamado " ; if ( $sslogado == $id_atendimento) $sql2 .=" and `id_atendimento` = $id_atendimento "; else if ( $sslogado == $id_criacao)
if ($status_P =="PENDENCIA-DO-ATENDIMENTO" or $status_P =="NA-PRODUCAO" ) echo '<img src="../images/Icons/help.png" class="north_e" width="24" height="24" title="'.$mostra_status.'">'; if ($status_P =="PENDENCIA-DO-CLIENTE" ) echo '<img src="../images/Icons/help.png" class="north_e" width="24" height="24" title="'.$mostra_status.'">'; if ($status_P =="PRODUZIDO-E-ENTREGUE" ) echo '<img src="../images/Icons/check.png" class="north_e" width="24" height="24" title="'.$mostra_status.'">'; if ($status_P =="AGUARDANDO-PRODUCAO" ) echo '<img src="../images/Icons/help.png" class="north_e" width="24" height="24" title="'.$mostra_status.'">'; */ echo $mostra_status; ?></td> <td class="<? echo $status_W;?>"><? $data1 = @mysql_result($tabela,$x,'data_web'); if ( $data1 != "") if ( strtotime( $data1 ) < time() ) echo "<img src='http://png.findicons.com/files/icons/1620/crystal_project/128/alert.png' width=\"24\" title=\"ATRASADO\" style=\"float:left; margin:5px;\" >"; @$data_status = (mysql_result($tabela,$x,'data_web') == "" or mysql_result($tabela,$x,'data_web') == "0000-00-00" ) ? "" : "Enviar:".Mostra_Data( mysql_result($tabela,$x,'data_web') )."<br>" ; $mostra_status = str_replace("-"," ",$status_W)."<br>".$data_status; /*if ($status_P =="PARA-PRODUZIR" or $status_P =="ORCAR" ) echo '<img src="../images/Icons/info.png" class="north_e" width="24" height="24" title="'.$mostra_status.'">'; if ($status_P =="ANDAMENTO" ) echo '<img src="../images/Icons/info.png" class="north_e" width="24" height="24" title="'.$mostra_status.'">'; if ($status_P =="AGUARDANDO-APROVACAO" ) echo '<img src="../images/Icons/help.png" class="north_e" width="24" height="24" title="'.$mostra_status.'">'; if ($status_P =="PENDENCIA-DO-ATENDIMENTO" or $status_P =="NA-PRODUCAO" ) echo '<img src="../images/Icons/help.png" class="north_e" width="24" height="24" title="'.$mostra_status.'">'; if ($status_P =="PENDENCIA-DO-CLIENTE" ) echo '<img src="../images/Icons/help.png" class="north_e" width="24" height="24" title="'.$mostra_status.'">'; if ($status_P =="PRODUZIDO-E-ENTREGUE" ) echo '<img src="../images/Icons/check.png" class="north_e" width="24" height="24" title="'.$mostra_status.'">'; if ($status_P =="AGUARDANDO-PRODUCAO" ) echo '<img src="../images/Icons/help.png" class="north_e" width="24" height="24" title="'.$mostra_status.'">'; */ echo $mostra_status; ?></td> <td align="center"><?
} if ( VerificarCargo($conexao,$sslogado,35) or VerificarCargo($conexao,$sslogado,26) or VerificarCargo($conexao,$sslogado,38) ){ $status_p = $status_R; $layout = mysql_result($tabela,$x,'data_corrigir'); } ?> <tr class="<? echo $status_p; if ($soma_s == 0) echo " cinza";?>" border="1" <? if (CargoUsuario($conexao,$sslogado) == "Criacao" ) { ?> onclick='self.location=("detalhes.php?id=<? echo $id_chamado; ?>");' style="cursor:pointer;" <? } ?> > <td ><input name="chamado[]" type="checkbox" value="<? echo $id_chamado;?>"></td> <td ><a href="Chamados/detalhes.php?id=<? echo $id_chamado; ?>"><span class="small"><? echo $id_chamado; ?></span></a></td> <td><span class="small" style="font-weight:bold;font-size:14px;"><? echo Mostra_Data( $layout ); ?></span></td> <td><a href="Chamados/detalhes.php?id=<? echo $id_chamado; ?>"><span class="small"><? echo $cliente; ?></span></a></td> <td><a href="Chamados/detalhes.php?id=<? echo $id_chamado; ?>"><span class="small"><? echo $titulo; ?></span></a></td> <td><span class="small"><? echo $status_p; ?></span></td> <td><span class="small"><? echo @NomeUsuario($conexao,$id_atendimento); ?></span></td> <td><span class="small"><? echo @NomeUsuario($conexao,$id_criacao); ?></span></td> <? if (@CargoUsuario($conexao,$sslogado) != "Criacao" ) { ?> <? } ?> <td class="<? echo $status_M;?>"> <? if ($status_M =="PARA-VEICULAR" or $status_M =="ORCAR" ) echo '<img src="images/Icons/info.png" class="north_e" width="24" height="24" title="'.str_replace("-"," ",$status_M).'">'; if ($status_M =="ANDAMENTO" ) echo '<img src="images/Icons/info.png" class="north_e" width="24" height="24" title="'.str_replace("-"," ",$status_M).'">'; if ($status_M =="AGUARDANDO-APROVACAO" or $status_M =="NA-MIDIA" ) echo '<img src="images/Icons/help.png" class="north_e" width="24" height="24" title="'.str_replace("-"," ",$status_M).'">'; if ($status_M =="PENDENCIA-DO-ATENDIMENTO" ) echo '<img src="images/Icons/help.png" class="north_e" width="24" height="24" title="'.str_replace("-"," ",$status_M).'">';
$data = mysql_result($tabela,$x,'data'); $valor = mysql_result($tabela,$x,'valor'); $descricao = mysql_result($tabela,$x,'descricao'); $pago = mysql_result($tabela,$x,'pago'); $data_pag = mysql_result($tabela,$x,'data_pag'); // $id_pedido = mysql_result($tabela,$x,'id_pedido'); $n_cheque = mysql_result($tabela,$x,'n_cheque'); $ag_cheque = mysql_result($tabela,$x,'ag_cheque'); $nome_cheque = mysql_result($tabela,$x,'nome_cheque'); $comp_cheque = mysql_result($tabela,$x,'comp_cheque'); $banco_cheque = mysql_result($tabela,$x,'banco_cheque'); $ct_cheque = mysql_result($tabela,$x,'ct_cheque'); $data_cheque = mysql_result($tabela,$x,'data_cheque'); $pre_cheque = mysql_result($tabela,$x,'pre_cheque') == "--" ? "" :" <span style=\"background:#FF6;\"> ". Mostra_Data(mysql_result($tabela,$x,'pre_cheque'))." </span> - " ; if ( $pago ) $sub_pagar_pago = $sub_pagar_pago + $valor; else $sub_pagar_pagar = $sub_pagar_pagar+ $valor; $sub_total_pagar = $sub_total_pagar + $valor; $comando = "SELECT c.valor, cc.nome FROM tw_contas p INNER JOIN tw_contas_centrocusto c ON (p.id_contas = c.id_contas) INNER JOIN tw_centrocusto cc ON (cc.id_centrocusto = c.id_centrocusto) WHERE p.id_contas = $id_contas ";
</TR> <TR class="row-11"> <TD class=selectedRow>Data de Entrega:</TD> <TD class="statusBar"><input name=layout id="layout" value="<? echo @Mostra_Data($layout); ?>" size=20 maxlength=128> ex: 10/01/2010</TD> </TR> <TR class="row-11">
$categoria = mysql_result($tabela,$x,'categoria'); $data_cha = mysql_result($tabela,$x,'data_cha'); $data_prazo = mysql_result($tabela,$x,'data_prazo'); $id_cargos = mysql_result($tabela,$x,'id_cargos'); $layout = mysql_result($tabela,$x,'layout'); $id_atendimento = mysql_result($tabela,$x,'id_atendimento'); ?> <tr class="<? echo $status_p; ?>" border="1" <? if (CargoUsuario($conexao,$sslogado) == "Criacao" ) { ?> onclick='self.location=("detalhes.php?id=<? echo $id_chamado; ?>");' style="cursor:pointer;" <? } ?> > <td><a href="detalhes.php?id=<? echo $id_chamado; ?>"><span class="small"><? echo $id_chamado; ?></span></a></td> <td><a href="detalhes.php?id=<? echo $id_chamado; ?>"><span class="small"><? echo $titulo; ?></span></a></td> <td><span class="small"><? echo NomeCliente($conexao,$id_clientes); ?></span></td> <td><span class="small"><? echo FormatarData($data_cha); ?></span></td> <td><span class="small"><? echo Mostra_Data( $layout ); ?></span></td> <td><span class="small"><? echo NomeUsuario($conexao,$id_atendimento); ?></span></td> <td><span class="small"><? echo NomeUsuario($conexao,$id_criacao); ?></span></td> <td><span class="small"><? echo MostraNomeCargo($conexao,$id_cargos) ?></span></td> <td><span class="small"><? echo @NomeFornecedor_Chamado($conexao,$id_chamado,$id_fornecedor); ?></span></td> <? if (CargoUsuario($conexao,$sslogado) != "Criacao" ) { ?><td><span class="small"><? echo "R$ ".PontoVirgula ( $valor_prod ); ?></span></td> <td><span class="small"><? if ( Permissao($conexao,"chamados","EDI",@$sslogado) and Permissao($conexao,"chamados","INS",@$sslogado) ) { ?><? echo "R$ ".PontoVirgula ( $valor_total ); ?><? } ?></span></td><? } ?> <td><span class="small"><? echo $status_p; ?></span></td> <td> </td> <td><div align="center"><? if ( Permissao($conexao,"chamados","EDI",@$sslogado) ) { ?><a href="criar.php?id=<? echo $id_chamado; ?>"><img src="../header_data/edit-find-replace.png" alt="Editar" title="Editar" width="22" height="22" border="0" /></a><? } ?> | <? if ( Permissao($conexao,"chamados","DEL",@$sslogado) ) { ?><a href="?acao=Cancelar&id=<? echo $id_chamado; ?>&status=<?php echo $status_p; ?> " ><img src="../header_data/nok.gif" alt="Cancelar" title="Cancelar" width="24" height="24" border="0" /></a><? } ?> | <? if ( Permissao($conexao,"chamados","CON",@$sslogado) ) { ?><a href="?acao=Concluir&id=<? echo $id_chamado; ?>&status=<?php echo $status_p; ?> "><img src="../header_data/ok.gif" alt="Concluir" width="24" height="24" border="0" title="Concluir" /></a><? } ?></div></td>
<td width="15%"><span class="left1"> <label for="name18"><strong>Data Cheque : </strong></label> </span></td> <td width="17%"><span class="left1"> <label for="name15"><strong>Cheque Pré? : </strong></label> </span></td> </tr> <tr class="fundo_branco_50"> <td><span class="left1"> <input name="n_cheque" type="text" style="width:100px;" id="n_cheque" value="<? echo @$n_cheque ; ?>" size="5" /> </span></td> <td><span class="left1"> <input name="data_cheque" type="text" style="width:100px;" id="data_cheque" value="<? echo @$data_cheque ; ?>" size="7" /> </span></td> <td><span class="left1"> <input name="pre_cheque" type="text" style="width:100px;" id="pre_cheque" value="<? echo $pre_cheque =="" ? "" : @Mostra_Data($pre_cheque) ; ?>" size="7" /> </span></td> </tr> </table> <br /> <br /> </div> </fieldset></td> </tr> <tr class="fundo_branco_50"> </tr> </table></TD> <TD width="30%" valign="top" class=form-title> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr>
$id_fornecedor = mysql_result($tabela,$x,'id_fornecedor'); $valor_prod = mysql_result($tabela,$x,'valor_prod'); $data_entrega = mysql_result($tabela,$x,'data_entrega'); $valor_total = mysql_result($tabela,$x,'valor_total'); $obs = mysql_result($tabela,$x,'obs'); $status_p = mysql_result($tabela,$x,'status'); $categoria = mysql_result($tabela,$x,'categoria'); $data_cha = mysql_result($tabela,$x,'data_cha'); $data_prazo = mysql_result($tabela,$x,'data_prazo'); $id_cargos = mysql_result($tabela,$x,'id_cargos'); $layout = mysql_result($tabela,$x,'layout'); $id_atendimento = mysql_result($tabela,$x,'id_atendimento'); $html.= '<div style="font-size: 14px;">'.$id_chamado.' - '.$titulo.' - <strong>'.Mostra_Data($layout).'</strong> - '.$status_p.'</div><br />'; } $html.= "</div>";
} if ( VerificarCargo($conexao,$sslogado,26) ){ $status_p = mysql_result($tabela,$x,'status_R'); } if ( VerificarCargo($conexao,$sslogado,24) ){ $status_p = mysql_result($tabela,$x,'status_M'); } $total_geral = $total_geral + $valor_total; $mes_relativo = explode('-', $layout); if($mes == $mes_relativo[1]){ ?> <tr> <td> </td> <td><? echo Mostra_Data($layout);?></td> <td><? echo ($titulo);?></td> <td><? echo $status_p;?></td> <td><? echo $id_chamado;?></td> <td>R$ <? echo number_format( $valor_total,2,",",".") ;?></td> </tr> <? } } // if } }
if (substr($campo,0,2) == "id") { //$html .= @MostraValor( $campo , mysql_result($tabela,$x, $campo ), $conexao); if ( $filtro != "" ) $html .= utf8_encode( @MostraValor( $campo , mysql_result($tabela,$x, $campo ), $conexao) ); else $html .= @MostraValor( $campo , mysql_result($tabela,$x, $campo ), $conexao); } else if (substr($campo,0,4) == "data") $html .= @Mostra_Data( mysql_result($tabela,$x, $campo )); else if ( strtoupper( $campo ) == strtoupper("foto") ) $html .= '<img src="produtos/'.mysql_result($tabela,$x,$campo).'" height="100" />'; else{ if ( $filtro != "" ) $html .= str_replace( strtoupper ( $filtro ), "<span style='font-weight:bold;background-color:#FF0;'>".strtoupper($filtro)."</span>", strtoupper( utf8_encode( mysql_result($tabela,$x, $campo ) ) ) ) .'</a></td>'; else $html .= ( mysql_result($tabela,$x, $campo )).'</a></td>'; } } }
if ( $pago ) $sub_pagar_pago = $sub_pagar_pago + $valor; else $sub_pagar_pagar = $sub_pagar_pagar+ $valor; $sub_total_pagar = $sub_total_pagar + $valor; $html .= ' <tr class="';if ( $i%2==0) $html .="even_row"; else $html .="odd_row"; $html .= ' "> <td width="5%"><span class="small">'.($x+1).'</span></td> <td width="33%">'.$descricao.' </td> <td width="19%" align="center"><span class="">'.Mostra_Data($data).'</span></td> <td width="18%"><div align="right">R$ '.$valor.' </div></td> </tr>'; } $html .= ' </tbody> </table>
</tr><? $sqll = "SELECT distinct * FROM c_chamado WHERE (status <> 'CANCELADO' and status <> 'DESENVOLVIDO' and status <> 'PARCELAS' and status <> 'FECHADO' and status <> 'CONCLUIDO' and status <> 'FINANCEIRO') and id_clientes = ".$clist['id_clientes'].""; $tabelal = mysql_query($sqll, $conexao); while($teste = mysql_fetch_array($tabelal)){ $layout = $teste['layout']; $id_criacao = $teste['id_criacao']; ?> <tr> <td class="pi"><?=$teste['id_chamado'];?></td> <td class="pi"><?=$teste['titulo'].' - <strong>'.Mostra_Data($layout).' - '.NomeUsuario($conexao,$id_criacao).'</strong>';?></td> <td class="pi"><?=$teste['status'];?></td> <td class="pi"><?=$teste['status_M'];?></td> <td class="pi"><?=$teste['status_R'];?></td> <td class="pi"><?=$teste['status_P'];?></td> <td class="pi"><?=$teste['status_C'];?></td> </tr> <? // print '<span style="font-size: 14px;">'.$teste['id_chamado'].' - '.$teste['titulo'].' - <strong>'.Mostra_Data($layout).' - '.NomeUsuario($conexao,$id_criacao).'</strong> - '.$teste['status'].'</span><br />'; } ?></table><? print '<br />'; } }
$id_cliente = $_POST['cliente']; $cod = $_POST['cod']; $mes = $_POST['mes']; $produto1 = $_POST['produto']; $tamanho1 = $_POST['tamanho']; $valor_uni = $_POST['valor_uni']; $desconto = $_POST['desconto']; $cond_pag1 = $_POST['cond_pag']; $total_desc = $_POST['total_desc']; $com_agencia = $_POST['com_agencia']; $total = $_POST['total']; $obs1 = $_POST['obs']; $fornecedor1 = $_POST['forn']; $data_ped = Mostra_Data($_POST['data']); $produto = utf8_encode($produto1); $tamanho = utf8_encode($tamanho1); $cond_pag = utf8_encode($cond_pag1); $obs = utf8_encode($obs1); $fornecedor = utf8_encode($fornecedor1); $sql = "INSERT INTO c_pi ( `id_pi`, `id_cliente`, `id_chamado`, `mes`, `valor_uni`, `desconto`, `total_desc`, com_agencia, `total_bruto`, `cond_pag`, `obs`, `fornecedor` ) VALUES ('$id_sessao', '$id_cliente', '$cod', '$mes', '$valor_uni', '$desconto', '$total_desc', '$com_agencia', '$total', '$cond_pag', '$obs', '$fornecedor1' )"; mysql_query($sql) or die("Error In Insert-->".mysql_error().$sql);
<option <? if ($status_R =="POST-REALIZADO" ) echo "selected"; ?> value="POST-REALIZADO">Post Realizado</option> <? } else if ( VerificarCargo($conexao,$sslogado,26) or $sslogado == 1 ){ // PERFIL REDAÇAO ?> <option <? if ($status_R =="CRIAR-TEXTO" ) echo "selected"; ?> value="CRIAR-TEXTO">Criar texto</option> <option <? if ($status_R =="TEXTO-ANDAMENTO" ) echo "selected"; ?> value="TEXTO-ANDAMENTO">Texto em Andamento</option> <option <? if ($status_R =="TEXTO-CRIADO" ) echo "selected"; ?> value="TEXTO-CRIADO">Texto Criado</option> <? } ?> </select> <br> <div style="background:#C8C8E8;padding:2px;" > Para Corrigir: <br> <input name="data_corrigir" id="data_corrigir" value="<? echo @mysql_result($tabela,0,'data_corrigir') == ""? "": Mostra_Data(mysql_result($tabela,0,'data_corrigir') ) ; ?>" size=20 readonly > <br> *Colocar a Data maior que hoje. </div> <input class="button" type=submit value="Salvar:"> <input name="acao" type=hidden id="acao" value="R"> <input name="id" type=hidden id="id" value=<? echo @$id; ?>> </form></td> </tr> </tbody> </table> </fieldset> <? } ?></td>
if ($status_R =="ANDAMENTO" ) echo '<img src="../images/Icons/info.png" class="north_e" width="24" height="24" title="'.$mostra_status .'">'; if ($status_R =="ALTERAR" )echo '<img src="../images/Icons/help.png" class="north_e" width="24" height="24" title="'.$mostra_status .'">'; if ($status_R =="CORRECAO-CONCLUIDA" ) echo '<img src="../images/Icons/check.png" class="north_e" width="24" height="24" title="'.$mostra_status .'">'; if ($status_R =="PENDENCIA-DO-CLIENTE" ) echo '<img src="../images/Icons/help.png" class="north_e" width="24" height="24" title="'.$mostra_status .'">'; if ($status_R =="CRIAR-TEXTO" ) echo '<img src="../images/Icons/add.png" class="north_e" width="24" height="24" title="'.$mostra_status .'">'; if ($status_R =="TEXTO-CRIADO" ) echo '<img src="../images/Icons/check.png" class="north_e" width="24" height="24" title="'.$mostra_status .'">'; if ($status_R =="TEXTO-ANDAMENTO" ) echo '<img src="../images/Icons/info.png" class="north_e" width="24" height="24" title="'.$mostra_status .'">'; if ($status_R =="FAZER-POST" ) echo '<img src="../images/Icons/info.png" class="north_e" width="24" height="24" title="'.$mostra_status .'">'; if ($status_R =="POST-REALIZADO" ) echo '<img src="../images/Icons/check.png" class="north_e" width="24" height="24" title="'.$mostra_status .'">'; ?></td> <td class="<? echo $status_C;?>"> <? $data_status = (mysql_result($tabela,$x,'data_entrega_cricao') == "" or mysql_result($tabela,$x,'data_entrega_cricao') == "0000-00-00" ) ? "" : Mostra_Data( mysql_result($tabela,$x,'data_entrega_cricao') ); $mostra_status = str_replace("-"," ",$status_C)."<br>".$data_status; if ($status_C =="ABERTO" ) echo '<img src="../images/Icons/info.png" class="north_e" width="24" height="24" title="'.$mostra_status.'">'; if ($status_C =="ANDAMENTO" ) echo '<img src="../images/Icons/info.png" class="north_e" width="24" height="24" title="'.$mostra_status.'">'; if ($status_C =="ARTE-CONCLUIDA" ) echo '<img src="../images/Icons/check.png" class="north_e" width="24" height="24" title="'.$mostra_status.'">'; if ($status_C =="AGUARDANDO-APROVACAO" ) echo '<img src="../images/Icons/help.png" class="north_e" width="24" height="24" title="'.$mostra_status.'">'; if ($status_C =="PENDENCIA-CORRECAO" ) echo '<img src="../images/Icons/help.png" class="north_e" width="24" height="24" title="'.$mostra_status.'">'; if ($status_C =="ALTERAR" ) echo '<img src="../images/Icons/refresh.png" class="north_e" width="24" height="24" title="'.$mostra_status.'">'; if ($status_C =="PENDENCIA-DA-ILUSTRACAO" ) echo '<img src="../images/Icons/help.png" class="north_e" width="24" height="24" title="'.$mostra_status.'">'; if ($status_C =="PENDENCIA-DO-ATENDIMENTO" ) echo '<img src="../images/Icons/help.png" class="north_e" width="24" height="24" title="'.$mostra_status.'">'; if ($status_C =="PENDENCIA-DO-CLIENTE" ) echo '<img src="../images/Icons/help.png" class="north_e" width="24" height="24" title="'.$mostra_status.'">'; if ($status_C =="PENDENCIA-DA-PRODUCAO" ) echo '<img src="../images/Icons/help.png" class="north_e" width="24" height="24" title="'.$mostra_status.'">'; if ($status_C =="PENDENCIA-DA-WEB" ) echo '<img src="../images/Icons/help.png" class="north_e" width="24" height="24" title="'.$mostra_status.'">';
#tsaida {cursor:pointer;} </style> <form action="proc_fluxo.php" method="post" enctype="multipart/form-data" name="cadastro" id="cadastro" onSubmit="return validaCampo(); return false;"> <TABLE width="100%" cellSpacing=1 > <TBODY> <TR> <TD width="79%" valign="top" class=form-title><table width="100%" border="0" align="center" cellpadding="2" cellSpacing=2 > <tr class="fundo_branco_50"> <td height="28" class="fundo_branco_50" ><span class="left1"> <label for="name4"><strong><span class="blue">*</span> Data da transação: </strong></label> </span></td> <td class="left" ><span class="left1"> <input name="data" type="text" style="width:100px;" id="data" value="<? if ( $data_2 == "" ) echo date("d/m/Y"); else echo @Mostra_Data($data_2) ; ?>" size="20"> </span></td> </tr> <tr class="fundo_branco_50"> <td width="142" height="28" class="fundo_branco_50" ><span class="left"> <label for="name2"><strong><span class="blue">*</span> Tipo : </strong></label> </span></td> <td width="828" class="left" ><span class="left"> <label> </label> </span> <p> <span id="tentrada"> <label style="font-size:18px;cursor:pointer;"> <input name="tipo" type="radio" id="tipo_0" value="ENTRADA" <? if ($tipo =="ENTRADA" or $_REQUEST['tipo']=="e" ) echo "checked"; ?> > Entrada</label> </span> |