|
|
 |
|
 |
Campañas de Regularización |
| |
|
|
| |
|
|
|
.gif) |
|
.gif) |
|
 |
Procedimientos Administrativos |
| |
|
|
| |
|
|
|
.gif) |
|
.gif) |
|
|
|
.gif) |
|
.gif) |
|
|
/*require ("conexion.php"); //Mando llamar el archivo con las conexiones a la BD
//mysql_select_db("webcol") or die("Imposible seleccionar base de datos");
$sqltxt="SELECT id_boletin,titulo,fecha FROM boletines WHERE id_dependencia=1 ORDER BY fecha DESC LIMIT 1"; //Sentencia SQL en la cual obtengo los ultimos 3 Boletines agregados
$resultado=mysql_query($sqltxt); //Ejecuto la consulta y guardo en un array el resultado
$INum=mysql_num_rows($resultado); //Numero de registros que me devuelve la consulta
$contador=1; */
?>
 |
|
 |
//mysql_select_db("webcol");
require_once('nusoap/lib/nusoap.php');
#$client = new soapclient('http://localhost/webcol/2006/webservices/noticiaServer.php?wsdl', true);
$client = new nusoap_client('http://www.colima-estado.gob.mx/ws/noticiaServer.php?wsdl', true);
if ($sError = $client->getError()) {
echo "No se pudo realizar la operación [".$sError."]";
die();
}
$strImagen="";
$strFechaAct=date("Y-m-d");
$intDep="10200"; #id de la dependencia
$arrNotPre = $client->call("noticiaPre", array("fecha" => $strFechaAct, "dep" => $intDep)); #Noticia previa (regresa solo 1 registro)
if ( count($arrNotPre)>0)
{
$intIdBol=$arrNotPre["id_boletin"];
$strTitulo=$arrNotPre["titulo"];
$strFecha=$arrNotPre["fecha"];
$strResena=$arrNotPre["resena"];
if (strlen($strTitulo)>80) //Valido si la reseña tiene mas de 80 Caracteres
$strTitulo = substr($strTitulo, 0, 80)."...";
?>
| |
|
$acentosNormal = array("á","é","í","ó","ú","Á","É","Í","Ó","Ú","ü","Ü");
$acentosHTML = array("á","é","í","ó","ú","&aAcute;","É","Í","Ó","Ú","ü","Ü");
$sTitulo=str_replace($acentosNormal,$acentosHTML,$strTitulo);
echo ucfirst(strtolower($sTitulo));
?>
|
| |
$arrFecha=explode("-",$strFecha);
$strAno=$arrFecha[0];
$strMes=$arrFecha[1];
$strDia=$arrFecha[2];
$aDia=explode(" ",$strDia);
$strFecha=$aDia[0].".".$strMes.".".$strAno; #Concateno la fecha en formato DD-MM-AAAA
echo $strFecha;
?>
|
| |
|
|
|
}
else
{
?>
|
}
?>
|
|
|
.gif) |
|
.gif) |
|
|
|
| |
|
| Aspectos Juridicos |

|
Constitución Política de los Estados Unidos Mexicanos
Constitución Política del Estado de Colima |
|
| Solicitud de Actas |
| |
|