Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Então esse código meu está paginando e eu quero que ele não pagine mais por que estou fazendo um search que quando clique no código id ele ja mande para a página de ediçao só que com esse paginador neessa minha página fica dificiu rsrsrs alguém pode me ajudar o código e esse
if (!isset($_SESSION)) {
session_start();
}
$MM_authorizedUsers = "";
$MM_donotCheckaccess = "true";
// *** Restrict Access To Page: Grant or deny access to this page
function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) {
// For security, start by assuming the visitor is NOT authorized.
$isValid = False;
// When a visitor has logged into this site, the Session variable MM_Username set equal to their username.
// Therefore, we know that a user is NOT logged in if that Session variable is blank.
if (!empty($UserName)) {
// Besides being logged in, you may restrict access to only certain users based on an ID established when they login.
// Parse the strings into arrays.
$arrUsers = Explode(",", $strUsers);
$arrGroups = Explode(",", $strGroups);
if (in_array($UserName, $arrUsers)) {
$isValid = true;
}
// Or, you may restrict access to only certain users based on their username.
if (in_array($UserGroup, $arrGroups)) {
$isValid = true;
}
if (($strUsers == "") && true) {
$isValid = true;
}
}
return $isValid;
}
$MM_restrictGoTo = "index.php";
if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {
$MM_qsChar = "?";
$MM_referrer = $_SERVER['PHP_SELF'];
if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
if (isset($QUERY_STRING) && strlen($QUERY_STRING) > 0)
$MM_referrer .= "?" . $QUERY_STRING;
$MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
header("Location: ". $MM_restrictGoTo);
exit;
}
?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
$editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
}
if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1")) {
$updateSQL = sprintf("UPDATE cliente SET nome_sindico=%s, nome_predio=%s, cidade=%s, bairro=%s, e_mail=%s, endereco=%s, telefone_sindico=%s, valor_a_ser_pago_anunc=%s, p_indicacao_anunc=%s, pagar_vendedor=%s, inscricao_estadual=%s, cnpj=%s, telefone=%s, banco=%s, agencia=%s, conta_corrente=%s, vendedor=%s, pessoas_por_dia=%s, monitores_15=%s, monitores_20=%s, prazo_para_instalacao=%s, posicao_de_instalacao=%s, pessoas_por_mes=%s, cep=%s, data_do_contrato=%s, situacao=%s, dados=%s WHERE codigo=%s",
GetSQLValueString($_POST['nome_sindico'], "text"),
GetSQLValueString($_POST['nome_predio'], "text"),
GetSQLValueString($_POST['cidade'], "text"),
GetSQLValueString($_POST['bairro'], "text"),
GetSQLValueString($_POST['e_mail'], "text"),
GetSQLValueString($_POST['endereco'], "text"),
GetSQLValueString($_POST['telefone_sindico'], "text"),
GetSQLValueString($_POST['valor_a_ser_pago_anunc'], "text"),
GetSQLValueString($_POST['p_indicacao_anunc'], "text"),
GetSQLValueString($_POST['pagar_vendedor'], "text"),
GetSQLValueString($_POST['inscricao_estadual'], "text"),
GetSQLValueString($_POST['cnpj'], "text"),
GetSQLValueString($_POST['telefone'], "text"),
GetSQLValueString($_POST['banco'], "text"),
GetSQLValueString($_POST['agencia'], "text"),
GetSQLValueString($_POST['conta_corrente'], "text"),
GetSQLValueString($_POST['vendedor'], "text"),
GetSQLValueString($_POST['pessoas_por_dia'], "text"),
GetSQLValueString($_POST['monitores_15'], "text"),
GetSQLValueString($_POST['monitores_20'], "text"),
GetSQLValueString($_POST['prazo_para_instalacao'], "text"),
GetSQLValueString($_POST['posicao_de_instalacao'], "text"),
GetSQLValueString($_POST['pessoas_por_mes'], "text"),
GetSQLValueString($_POST['cep'], "text"),
GetSQLValueString($_POST['data_do_contrato'], "text"),
GetSQLValueString($_POST['situacao'], "text"),
GetSQLValueString($_POST['dados'], "text"),
GetSQLValueString($_POST['codigo'], "int"));
mysql_select_db($database_data, $data);
$Result1 = mysql_query($updateSQL, $data) or die(mysql_error());
$updateGoTo = "edd_clientes.php";
if (isset($_SERVER['QUERY_STRING'])) {
$updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
$updateGoTo .= $_SERVER['QUERY_STRING'];
}
header(sprintf("Location: %s", $updateGoTo));
}
$currentPage = $_SERVER["PHP_SELF"];
$currentPage = $_SERVER["PHP_SELF"];
$maxRows_Recordset1 = 1;
$pageNum_Recordset1 = 0;
if (isset($_GET['pageNum_Recordset1'])) {
$pageNum_Recordset1 = $_GET['pageNum_Recordset1'];
}
$startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1;
mysql_select_db($database_data, $data);
$query_Recordset1 = "SELECT * FROM cliente";
$query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
$Recordset1 = mysql_query($query_limit_Recordset1, $data) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
if (isset($_GET['totalRows_Recordset1'])) {
$totalRows_Recordset1 = $_GET['totalRows_Recordset1']; $all_Recordset1 = mysql_query($query_Recordset1);
$totalRows_Recordset1 = mysql_num_rows($all_Recordset1);
}
$totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1;
$queryString_Recordset1 = "";
if (!empty($_SERVER['QUERY_STRING'])) {
$params = explode("&", $_SERVER['QUERY_STRING']);
$newParams = array();
foreach ($params as $param) {
if (stristr($param, "pageNum_Recordset1") == false &&
stristr($param, "totalRows_Recordset1") == false) {
array_push($newParams, $param);
}
}
if (count($newParams) != 0) {
$queryString_Recordset1 = "&" . htmlentities(implode("&", $newParams));
}
}
$queryString_Recordset1 = sprintf("&totalRows_Recordset1=%d%s", $totalRows_Recordset1, $queryString_Recordset1);
$queryString_Recordset1 = "";
if (!empty($_SERVER['QUERY_STRING'])) {
$params = explode("&", $_SERVER['QUERY_STRING']);
$newParams = array();
foreach ($params as $param) {
if (stristr($param, "pageNum_Recordset1") == false &&
stristr($param, "totalRows_Recordset1") == false) {
array_push($newParams, $param);
}
}
if (count($newParams) != 0) {
$queryString_Recordset1 = "&" . htmlentities(implode("&", $newParams));
}
}
$queryString_Recordset1 = sprintf("&totalRows_Recordset1=%d%s", $totalRows_Recordset1, $queryString_Recordset1);
?><html xmlns="[http://www.w3.org/1999/xhtml">](http://www.w3.org/1999/xhtml)
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>::: SISTEMA UBC CRIATIVE:::</title>
<link href="../sistemaos/sistema/css/style.css" rel="stylesheet" type="text/css" />
<script language="JavaScript">uCase = qual.value.toUpperCase();
qual.value = uCase;
}
function MM_validateForm() { //v4.0
if (document.getElementById){
var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=document.getElementById(args[i]);
if (val) { nm=val.name; if ((val=val.value)!="") {
if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
if (p<1 || p==(val.length-1)) errors+='- '+nm+' deve conter um endereço valido.\n';
} else if (test!='R') { num = parseFloat(val);
if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
min=test.substring(8,p); max=test.substring(p+1);
if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
} } } else if (test.charAt(0) == 'R') errors += '- '+nm+' é um campo obrigatório.\n'; }
} if (errors) alert('Os Seguintes erros foram encontrados:\n'+errors);
document.MM_returnValue = (errors == '');</script>
<script>
function formatar(src, mask) var i = src.value.length;
var saida = mask.substring(0,1);
var texto = mask.substring(i) src.value += texto.substring(0,1);
}
}
</script>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<style type="text/css"> color: #000;
text-decoration: none;
} text-decoration: none;
color: #000;
} text-decoration: none;
color: #000;
} text-decoration: none;
color: #000;
}
.style9 { font-size: 1em;
font-weight: bold;
text-align: center;
}</style></head>
<body text="#000000" link="#000000" vlink="#000000" alink="#000000">
<form action="<?php echo $editFormAction; ?>" method="POST" name="form1" id="form1" onsubmit="MM_validateForm('nome','','R','email','','NisEmail');return document.MM_returnValue">
<table width="44%" border="0" align="center" cellpadding="0" cellspacing=" 0">
<tr>
<td width="171"><div align="center" class="style3 style27"><strong><span class="style1"><img src="Imagens/2017_128x128.png" alt="" width="48" height="48" />Editar Cadastros </span></strong></div></td>
<td width="87"><p><a href="busca_cliente.php">Pesquisa<img src="Imagens/luuu.png" width="32" height="32" /></a></p></td>
<td width="210"><b><a href="menu.php" target="_self"><span class="style9">Volte Ao Menu Principal
<input type="button" value="Voltar" onclick="history.go(-1)" />
</span></a></b></td>
<td width="143"><b><a href="menu.php" target="_self"><span class="style9"><strong><b><b></b></b></strong></span></a><span class="style9"><strong><b><b><a href="../sistemaos/sistema/fechar.php"><img src="Imagens/4435_128x128.png" width="48" height="48" />Fechar Janela</a></b></b></strong></span></b></td>
</tr>
</table>
<table width="498" border="0" align="center" cellpadding="2" cellspacing="2" >
<tr>
<td width="194" bgcolor="#C8D5E4" class="verdana"><strong>Nome do prédio:<br />
</strong></td>
<td width="290" bgcolor="#C8D5E4" class="verdana"><strong> <strong>
<input name="nome_predio" type="text" class="select" id="nome_predio" onkeyup="muda(this)" value="<?php echo htmlentities($row_Recordset1['nome_predio'], ENT_COMPAT, 'utf-8'); ?>" size="48" maxlength="100"/>
</strong></strong></td>
</tr>
<tr>
<td bgcolor="#F4F4F4" class="verdana"><strong>Endereço:<br />
</strong></td>
<td bgcolor="#F4F4F4" class="verdana"><strong>
<input name="endereco" type="text" class="select" id="endereco" onkeyup="muda(this)" value="<?php echo htmlentities($row_Recordset1['endereco'], ENT_COMPAT, 'utf-8'); ?>" size="48" maxlength="100"/>
</strong></td>
</tr>
<tr>
<td bgcolor="#C8D5E4" class="verdana"><strong>Bairro:<br />
</strong></td>
<td bgcolor="#C8D5E4" class="verdana"><strong>
<input name="bairro" type="text" class="select" id="bairro" onkeyup="muda(this)" value="<?php echo htmlentities($row_Recordset1['bairro'], ENT_COMPAT, 'utf-8'); ?>" size="48" maxlength="40"/>
</strong></td>
</tr>
<tr>
<td bgcolor="#F4F4F4"><strong>Cidade:<br />
</strong></td>
<td bgcolor="#F4F4F4"><strong>
<input name="cidade" type="text" class="select" value="<?php echo htmlentities($row_Recordset1['cidade'], ENT_COMPAT, 'utf-8'); ?>" size="48" maxlength="30" onkeyup="muda(this)"/>
</strong></td>
</tr>
<tr>
<td bgcolor="#C8D5E4"><span class="verdana"><strong>Cep.:</strong><br />
</span></td>
<td bgcolor="#C8D5E4"><span class="verdana">
<input name="cep" type="text" class="select" id="cep" onkeypress="formatar(this, '#####-###')" value="<?php echo htmlentities($row_Recordset1['cep'], ENT_COMPAT, 'utf-8'); ?>" size="48" maxlength="9"/>
</span></td>
</tr>
<tr>
<td bgcolor="#F4F4F4"><strong><span class="verdana"><strong><strong><strong>CNPJ:</strong></strong><br />
</strong></span></strong></td>
<td bgcolor="#F4F4F4"><span class="verdana"><strong><strong>
<input name="cnpj" type="text" class="select" id="cnpj" value="<?php echo htmlentities($row_Recordset1['cnpj'], ENT_COMPAT, 'utf-8'); ?>" size="48" maxlength="15" />
</strong></strong></span></td>
</tr>
<tr>
<td bgcolor="#C8D5E4" class="verdana"><strong><strong><strong>Telefone:</strong></strong><br />
</strong></td>
<td bgcolor="#C8D5E4" class="verdana"><strong><strong>
<input name="telefone" type="text" class="select" id="telefone" value="<?php echo $row_Recordset1['telefone']; ?>" size="48" maxlength="13" />
</strong></strong></td>
</tr>
<tr>
<td bgcolor="#F4F4F4" class="verdana"><strong>Nome do síndico:<br />
</strong></td>
<td bgcolor="#F4F4F4" class="verdana"><strong>
<input name="nome_sindico" type="text" class="select" id="nome_sindico" onkeyup="muda(this)" value="<?php echo htmlentities($row_Recordset1['nome_sindico'], ENT_COMPAT, 'utf-8'); ?>" size="48" maxlength="80"/>
</strong></td>
</tr>
<tr>
<td bgcolor="#C8D5E4" class="verdana"><strong><strong><strong><strong>Telefone Síndico:</strong></strong></strong><br />
</strong></td>
<td bgcolor="#C8D5E4" class="verdana"><strong><strong><strong><strong><strong><strong>
<input name="telefone_sindico" type="text" class="select" id="telefone_sindico" value="<?php echo $row_Recordset1['telefone_sindico']; ?>" size="48" maxlength="13" />
</strong></strong></strong></strong></strong></strong></td>
</tr>
<tr>
<td bgcolor="#F4F4F4" class="verdana"><strong><strong>E-Mail:<br />
</strong></strong></td>
<td bgcolor="#F4F4F4" class="verdana"><strong><strong>
<input name="e_mail" type="text" class="select" id="e_mail" value="<?php echo htmlentities($row_Recordset1['e_mail'], ENT_COMPAT, 'utf-8'); ?>" size="48" maxlength="50" />
</strong></strong></td>
</tr>
<tr>
<td bgcolor="#C8D5E4" class="verdana"><strong><strong><font color="#666666">Banco</font>:<br />
</strong></strong></td>
<td bgcolor="#C8D5E4" class="verdana"><strong><strong>
<input name="banco" type="text" class="select" id="banco" value="<?php echo htmlentities($row_Recordset1['banco'], ENT_COMPAT, 'utf-8'); ?>" size="48" maxlength="15" />
</strong></strong></td>
</tr>
<tr>
<td bgcolor="#F4F4F4" class="verdana"><strong><font color="#666666">Agência</font>:<br />
</strong></td>
<td bgcolor="#F4F4F4" class="verdana"><strong>
<input name="agencia" type="text" class="select" id="agencia" value="<?php echo htmlentities($row_Recordset1['agencia'], ENT_COMPAT, 'utf-8'); ?>" size="48" maxlength="15" />
</strong></td>
</tr>
<tr>
<td bgcolor="#C8D5E4" class="verdana"><strong><strong><font color="#666666">Conta Corrente</font>:<br />
</strong></strong></td>
<td bgcolor="#C8D5E4" class="verdana"><strong>
<input name="conta_corrente" type="text" class="select" id="conta_corrente" value="<?php echo htmlentities($row_Recordset1['conta_corrente'], ENT_COMPAT, 'utf-8'); ?>" size="48" maxlength="15" />
</strong></td>
</tr>
<tr>
<td bgcolor="#F4F4F4" class="verdana"><strong>Pessoas por dia:<br />
</strong></td>
<td bgcolor="#F4F4F4" class="verdana"><strong>
<input name="pessoas_por_dia" type="text" class="select" id="pessoas_por_dia" onkeyup="muda(this)" value="<?php echo htmlentities($row_Recordset1['pessoas_por_dia'], ENT_COMPAT, 'utf-8'); ?>" size="48" maxlength="30"/>
</strong></td>
</tr>
<tr>
<td bgcolor="#C8D5E4" class="verdana"><strong>Pessoas por mês:<br />
</strong></td>
<td bgcolor="#C8D5E4" class="verdana"><strong>
<input name="pessoas_por_mes" type="text" class="select" id="pessoas_por_mes" onkeyup="muda(this)" value="<?php echo htmlentities($row_Recordset1['pessoas_por_mes'], ENT_COMPAT, 'utf-8'); ?>" size="48" maxlength="30"/>
</strong></td>
</tr>
<tr>
<td bgcolor="#F4F4F4" class="verdana"><strong><strong>Quantidade de monitores 15:</strong></strong></td>
<td bgcolor="#F4F4F4" class="verdana"><strong>
<input name="monitores_15" type="text" class="select" id="monitores_15" onkeypress="formatar(this, '#####-###')" value="<?php echo htmlentities($row_Recordset1['monitores_15'], ENT_COMPAT, 'utf-8'); ?>" size="48" maxlength="9"/>
</strong></td>
</tr>
<tr>
<td bgcolor="#C8D5E4" class="verdana"><strong>Quantidade de monitores 20:</strong></td>
<td bgcolor="#C8D5E4" class="verdana"><input name="monitores_20" type="text" class="select" id="monitores_20" onkeypress="formatar(this, '#####-###')" value="<?php echo htmlentities($row_Recordset1['monitores_20'], ENT_COMPAT, 'utf-8'); ?>" size="48" maxlength="9"/></td>
</tr>
<tr>
<td bgcolor="#F4F4F4" class="verdana"><strong>Pagar para o anunciante:<br />
</strong></td>
<td bgcolor="#F4F4F4" class="verdana"><strong>
<input name="valor_a_ser_pago_anunc" type="text" class="select" id="valor_a_ser_pago_anunc" onkeyup="muda(this)" value="<?php echo $row_Recordset1['valor_a_ser_pago_anunc']; ?>" size="48" maxlength="200"/>
</strong></td>
</tr>
<tr>
<td bgcolor="#C8D5E4" class="verdana"><strong>Pagar indicação por anunciante:<br />
</strong></td>
<td bgcolor="#F4F4F4" class="verdana"><strong>
<input name="p_indicacao_anunc" type="text" class="select" id="p_indicacao_anunc" onkeyup="muda(this)" value="<?php echo htmlentities($row_Recordset1['p_indicacao_anunc'], ENT_COMPAT, 'utf-8'); ?>" size="48" maxlength="100"/>
</strong></td>
</tr>
<tr>
<td bgcolor="#F4F4F4" class="verdana"><strong>data do contrato:<br />
</strong></td>
<td bgcolor="#C8D5E4" class="verdana"><strong>
<input name="data_do_contrato" type="text" class="select" id="data_do_contrato" onkeypress="formatar(this, '##/##/####')" value="<?php echo htmlentities($row_Recordset1['data_do_contrato'], ENT_COMPAT, 'utf-8'); ?>"" size="48" maxlength="13"<?php echo htmlentities($row_Recordset1['celular'], ENT_COMPAT, 'utf-8'); ?> />
</strong></td>
</tr>
<tr>
<td bgcolor="#C8D5E4" class="verdana"><strong>Vendedor:<br />
</strong></td>
<td bgcolor="#F4F4F4" class="verdana"><strong>
<input name="vendedor" type="text" class="select" id="vendedor" onkeyup="muda(this)" value="<?php echo htmlentities($row_Recordset1['vendedor'], ENT_COMPAT, 'utf-8'); ?>" size="48" maxlength="100"/>
</strong></td>
</tr>
<tr>
<td bgcolor="#F4F4F4" class="verdana"><strong>Valor a pagar para vendedor:<br />
</strong></td>
<td bgcolor="#C8D5E4" class="verdana"><strong>
<input name="pagar_vendedor" type="text" class="select" id="pagar_vendedor" onkeyup="muda(this)" value="<?php echo htmlentities($row_Recordset1['pagar_vendedor'], ENT_COMPAT, 'utf-8'); ?>" size="48" maxlength="100"/>
</strong></td>
</tr>
<tr>
<td bgcolor="#C8D5E4" class="verdana"><strong><font color="#666666">Autorização para fotos</font>:<br />
</strong></td>
<td bgcolor="#F4F4F4" class="verdana"><input name="situacao" type="text" class="select" id="situacao" value="<?php echo htmlentities($row_Recordset1['situacao'], ENT_COMPAT, 'utf-8'); ?>" size="48" maxlength="15" /></td>
</tr>
<tr>
<td bgcolor="#F4F4F4" class="verdana"><strong><font color="#666666">Posição de instalação</font>:<br />
</strong></td>
<td bgcolor="#C8D5E4" class="verdana"><strong>
<input name="posicao_de_instalacao" type="text" class="select" id="posicao_de_instalacao" value="<?php echo htmlentities($row_Recordset1['posicao_de_instalacao'], ENT_COMPAT, 'utf-8'); ?>" size="48" maxlength="15" />
</strong></td>
</tr>
<tr>
<td bgcolor="#C8D5E4" class="verdana"><strong>Inscrição estadual:<br />
</strong></td>
<td bgcolor="#F4F4F4" class="verdana"><strong>
<input name="inscricao_estadual" type="text" class="select" id="inscricao_estadual" onkeyup="muda(this)" value="<?php echo htmlentities($row_Recordset1['inscricao_estadual'], ENT_COMPAT, 'utf-8'); ?>" size="48" maxlength="30"/>
</strong></td>
</tr>
<tr>
<td bgcolor="#F4F4F4" class="verdana"><strong>Prazo de Instalação:<br />
</strong></td>
<td bgcolor="#C8D5E4" class="verdana"><strong>
<input name="prazo_para_instalacao" type="text" class="select" id="prazo_para_instalacao" onkeypress="formatar(this, '##/##/####')" value="<?php echo htmlentities($row_Recordset1['prazo_para_instalacao'], ENT_COMPAT, 'utf-8'); ?>"" size="48" maxlength="13"<?php echo htmlentities($row_Recordset1['celular'], ENT_COMPAT, 'utf-8'); ?> />
</strong></td>
</tr>
<tr>
<td bgcolor="#C8D5E4" class="verdana"><strong>Posição de Instalação:<br />
</strong></td>
<td bgcolor="#F4F4F4" class="verdana"><strong>
<input name="posicao_de_instalacao2" type="text" class="select" id="posicao_de_instalacao2" onkeypress="formatar(this, '##/##/####')" value="<?php echo htmlentities($row_Recordset1['posicao_de_instalacao'], ENT_COMPAT, 'utf-8'); ?>"" size="48" maxlength="13"<?php echo htmlentities($row_Recordset1['celular'], ENT_COMPAT, 'utf-8'); ?> />
</strong></td>
</tr>
<tr>
<td bgcolor="#F4F4F4" class="verdana"><strong>Ativo ou Inativo</strong></td>
<td bgcolor="#C8D5E4" class="verdana"><strong>
<input name="dados" type="text" class="select" id="dados" value="<?php echo htmlentities($row_Recordset1['dados'], ENT_COMPAT, 'utf-8'); ?>"" size="48" maxlength="13"<?php echo htmlentities($row_Recordset1['celular'], ENT_COMPAT, 'utf-8'); ?> />
</strong></td>
</tr>
<tr>
<td colspan="2" bgcolor="#F4F4F4" class="verdana"><div align="center"><strong>Codigo: <?php echo $row_Recordset1['codigo']; ?></strong></div></td>
</tr>
<tr>
<td height="35" colspan="2" align="center">
<div align="center"><span class="style49">
<input type="submit" name="button" id="button" value="Alterar Registro" />
</span></div></td>
</tr>
<input type="hidden" name="codigo" value="<?php echo $row_Recordset1['codigo']; ?>" />
</table>
<table border="0">
<tr>
<td width="19"><?php if ($pageNum_Recordset1 > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, 0, $queryString_Recordset1); ?>"><img src="Imagens/First.gif" border="0" /></a>
<?php } // Show if not first page ?> </td>
<td width="24"><?php if ($pageNum_Recordset1 > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, max(0, $pageNum_Recordset1 - 1), $queryString_Recordset1); ?>"><img src="Imagens/voltar.gif" border="0" /></a>
<?php } // Show if not first page ?> </td>
<td width="25"><?php if ($pageNum_Recordset1 < $totalPages_Recordset1) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, min($totalPages_Recordset1, $pageNum_Recordset1 + 1), $queryString_Recordset1); ?>"><img src="Imagens/Next.gif" border="0" /></a>
<?php } // Show if not last page ?> </td>
<td width="26"><?php if ($pageNum_Recordset1 < $totalPages_Recordset1) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, $totalPages_Recordset1, $queryString_Recordset1); ?>"><img src="Imagens/Last.gif" border="0" /></a>
<?php } // Show if not last page ?> </td>
</tr>
</table>
<span class="style5"><strong>
<input type="hidden" name="MM_update" value="<?php echo $row_Recordset1['']; ?>" />
</strong>
<input type="hidden" name="MM_update" value="form1" />
</span>
</form>
</body>
</html>
<?php
mysql_free_result($Recordset1);
?>Carregando comentários...