From 015955526bfb7e136f673ebec1dca9855df4dd8b Mon Sep 17 00:00:00 2001 From: humano Date: Fri, 21 Nov 2014 12:33:44 -0500 Subject: [PATCH] Correcion problema generacion json, mejora soporte parallax , agregado id_campo al api --- milfs/css/images/buttons.gif | Bin 0 -> 3064 bytes milfs/css/images/toolbar.gif | Bin 0 -> 68 bytes milfs/css/jquery.cleditor.css | 26 + milfs/css/style.css | 172 ++ milfs/css/styletimeline.css | 157 ++ milfs/css/timeline/biggerdot.png | Bin 0 -> 1016 bytes milfs/css/timeline/buttons.gif | Bin 0 -> 3064 bytes milfs/css/timeline/dot.gif | Bin 0 -> 1098 bytes milfs/css/timeline/grad_bottom.png | Bin 0 -> 986 bytes milfs/css/timeline/grad_left.png | Bin 0 -> 981 bytes milfs/css/timeline/grad_right.png | Bin 0 -> 981 bytes milfs/css/timeline/grad_top.png | Bin 0 -> 989 bytes milfs/css/timeline/next.png | Bin 0 -> 2944 bytes milfs/css/timeline/next_v.png | Bin 0 -> 2880 bytes milfs/css/timeline/prev.png | Bin 0 -> 2935 bytes milfs/css/timeline/prev_v.png | Bin 0 -> 2892 bytes milfs/css/timeline/toolbar.gif | Bin 0 -> 68 bytes milfs/funciones.php | 3648 ++++++++++++++++++++++++++++ milfs/funciones/funciones.php | 151 +- milfs/js/jquery.cleditor.js | 1190 +++++++++ milfs/js/jquery.cleditor.min.js | 11 + milfs/js/jquery.timelinr-0.9.54.js | 270 ++ 22 files changed, 5589 insertions(+), 36 deletions(-) create mode 100644 milfs/css/images/buttons.gif create mode 100644 milfs/css/images/toolbar.gif create mode 100644 milfs/css/jquery.cleditor.css create mode 100644 milfs/css/style.css create mode 100644 milfs/css/styletimeline.css create mode 100644 milfs/css/timeline/biggerdot.png create mode 100644 milfs/css/timeline/buttons.gif create mode 100644 milfs/css/timeline/dot.gif create mode 100644 milfs/css/timeline/grad_bottom.png create mode 100644 milfs/css/timeline/grad_left.png create mode 100644 milfs/css/timeline/grad_right.png create mode 100644 milfs/css/timeline/grad_top.png create mode 100644 milfs/css/timeline/next.png create mode 100644 milfs/css/timeline/next_v.png create mode 100644 milfs/css/timeline/prev.png create mode 100644 milfs/css/timeline/prev_v.png create mode 100644 milfs/css/timeline/toolbar.gif create mode 100755 milfs/funciones.php create mode 100644 milfs/js/jquery.cleditor.js create mode 100644 milfs/js/jquery.cleditor.min.js create mode 100644 milfs/js/jquery.timelinr-0.9.54.js diff --git a/milfs/css/images/buttons.gif b/milfs/css/images/buttons.gif new file mode 100644 index 0000000000000000000000000000000000000000..2e464d0c8c7ac7c8dd29d165e4eff36ea27fdd2d GIT binary patch literal 3064 zcmYL^X;@PE0*C*H{UG3B(HPVT+}lJQEmA8`RNN9x)5$WdG0n7Wa%(>*87>*-l9eUy zlvYe>Svk|eG;PNw8*8eIOVd7?b<1ugclmOE&-1LbAay@qWr9 zI4L?>-k~dL`1PeAms!%W?{3qox}CG<`vv9IjmlSN9jd9Gxp?oIq&3-VL&S^yGB$0w z{2Ru%bLJE#0TisLKjH zx#IM2d(MqF+b)~*dEstH?mX|#Seb;9P7Rn%MLvIYbHIKL~5}J^{r!kBuxFbAB4hb9n7wV?zhHa3b#G zr%x=$TNMu8-z?q+eg^z*nBe`J9Ll5j>4-)T%1`wyyJwD<|#Izv@n9sT1m3k z@e9IV55;+Px-$)msZ6oCXKw^S5dc>WDFVokq)-p-2Q)JRc2coH>1QVoe_GYx;CGq2 zjF^W3tr;pQ%_>HNG2oj<2`szqzCz1o=ekc#j?! zOi{`cdEwyU;dz@s^oCmgm@5tUoHd9>0^5U1lBHumVT<+Gt+rVPIhmA0mtm_YnnIJr zV#Fyb0LQnL`_qJuNB~UcYe0PHx8LuT%e}p=ILvND47q7e^cF${cZl3-`cTKB=sGd- z28q@mo-?;gdK&+g_gdcpDMEJb`PW_gh69SiO|DA=U`L> z(3ZkXQ0~oAVl?R=?s#J1l3%tytJ|BHa+I;KR%#%xj>cUH(@ppG#-1aY`(Vza1S;^G zFZjgS{N;;~W2jh2Jf?4Zap0C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r^{V{y zgb%IOA9M2}w0Q(<_Zp*cW-weWS5=tOZfI$3MluuZuo)n^DdJM&<8H=s-Xiq%JqlQk zL+&#&L^xoC-g0(9*t{KGdv}RcE4k|BnLwt)ll3aDQ57%{YKEJq8UDU!QCJ}b8K381Ozwp9e>ZKa{lHB5s_>yyZC0#Wo i7rRQjhfAz}n<~M$r9Gn3-uTk1d8Gq2r9UDB;QMa~Mf*?y literal 0 HcmV?d00001 diff --git a/milfs/css/images/toolbar.gif b/milfs/css/images/toolbar.gif new file mode 100644 index 0000000000000000000000000000000000000000..e6eb2da554925c9587169b7fc1dade3d37da9c46 GIT binary patch literal 68 zcmZ?wbhEHbWMq(HSj52a`t|EipFaKn|9|GpnQz~|Wq<+2pDbXe4u}M)Wnkvi*m%cL L;S}c)4+d)hRvr~C literal 0 HcmV?d00001 diff --git a/milfs/css/jquery.cleditor.css b/milfs/css/jquery.cleditor.css new file mode 100644 index 0000000..fa4481d --- /dev/null +++ b/milfs/css/jquery.cleditor.css @@ -0,0 +1,26 @@ +.cleditorMain {border:1px solid #999; padding:0 1px 1px; background-color:white} +.cleditorMain, +.cleditorPopup, +.cleditorMain * {-moz-box-sizing:content-box; -webkit-box-sizing:content-box; box-sizing:content-box} +.cleditorMain iframe {border:none; margin:0; padding:0} +.cleditorMain textarea {overflow-y:scroll; font:10pt Arial,Verdana; resize:none; outline:none} +.cleditorToolbar {background: url('images/toolbar.gif') repeat} +.cleditorGroup {float:left; height:26px} +.cleditorButton {float:left; width:24px; height:24px; margin:1px 0 1px 0; background: url('images/buttons.gif')} +.cleditorDisabled {opacity:0.3; filter:alpha(opacity=30)} +.cleditorDivider {float:left; width:1px; height:23px; margin:1px 0 1px 0; background:#CCC} +.cleditorPopup {border:solid 1px #999; background-color:white; color:#333333; position:absolute; font:10pt Arial,Verdana; cursor:default; z-index:10000} +.cleditorList div {padding:2px 4px 2px 4px} +.cleditorList p, +.cleditorList h1, +.cleditorList h2, +.cleditorList h3, +.cleditorList h4, +.cleditorList h5, +.cleditorList h6, +.cleditorList font {padding:0; margin:0; background-color:Transparent} +.cleditorColor {width:150px; padding:1px 0 0 1px} +.cleditorColor div {float:left; width:14px; height:14px; margin:0 1px 1px 0} +.cleditorPrompt {background-color:#F6F7F9; padding:8px; font-size:8.5pt} +.cleditorPrompt label {padding-bottom:8px} +.cleditorMsg {background-color:#FDFCEE; width:150px; padding:4px; font-size:8.5pt} \ No newline at end of file diff --git a/milfs/css/style.css b/milfs/css/style.css new file mode 100644 index 0000000..5d39f70 --- /dev/null +++ b/milfs/css/style.css @@ -0,0 +1,172 @@ + * { + margin: 0; + padding: 0; +} + +body { + background: #222; + font-family: Georgia, serif; + color: #fff; + font-size: 14px; +} + +#dates a { + color: gray; + text-decoration: none; + -webkit-transition: 0.5s; + -moz-transition: 0.5s; + -o-transition: 0.5s; + -ms-transition: 0.5s; + transition: 0.5s; + font-size: 12px; +} +#dates a:hover, +#dates a.selected { + color: red; + font-size: 18px; + } +/* +h1,h2,h4,h5,h6 { + text-align: center; + color: #ccc; + text-shadow: #000 1px 1px 2px; + margin-bottom: 5px; +} + h1 { + font-size: 18px; + } + h2 { + font-size: 14px; + } +.sociales { + text-align: center; + margin-bottom: 20px; +} +*/ + #timeline { + width: 95%; + height: 500px; + overflow: hidden; + margin: 100px auto; + position: relative; + + } + #dates { + width: 800px; + height: 60px; + overflow: hidden; + background: url('timeline/dot.gif') left 45px repeat-x; + } + #dates li { + list-style: none; + float: left; + width: 100px; + height: 50px; + font-size: 24px; + text-align: center; + background: url('timeline/biggerdot.png') center bottom no-repeat; + } + #dates a { + line-height: 18px; + padding-bottom: 10px; + } + #dates .selected { + font-size: 18px; + } + + #issues { + width: 800px; + height: 500px; + overflow: hidden; + } + #issues li { + width: 900px; + height: 500px; + list-style: none; + float: left; + } + #issues li.selected img { + -webkit-transform: scale(1.1,1.1); + -moz-transform: scale(1.1,1.1); + -o-transform: scale(1.1,1.1); + -ms-transform: scale(1.1,1.1); + transform: scale(1.1,1.1); + } + #issues li img { + float: left; + margin: 10px 30px 10px 50px; + background: transparent; + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; /* IE 8 */ + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);/* IE 6 & 7 */ + zoom: 1; + -webkit-transition: all 2s ease-in-out; + -moz-transition: all 2s ease-in-out; + -o-transition: all 2s ease-in-out; + -ms-transition: all 2s ease-in-out; + transition: all 2s ease-in-out; + -webkit-transform: scale(0.7,0.7); + -moz-transform: scale(0.7,0.7); + -o-transform: scale(0.7,0.7); + -ms-transform: scale(0.7,0.7); + transform: scale(0.7,0.7); + } + #issues li h1 { + + font-size: 48px; + margin: 20px 0; + color: red; + /*text-shadow: #000 1px 1px 2px;*/ + } + #issues li p { + font-size: 14px; + margin-right: 70px; + font-weight: normal; + line-height: 22px; + /* text-shadow: #000 1px 1px 2px;*/ + } + + #grad_left, + #grad_right { + width: 100px; + height: 500px; + position: absolute; + top: 0; + } + #grad_left { + left: 0; + /* background: url('timeline/grad_left.png') repeat-y;*/ + } + #grad_right { + right: 0; + /* background: url('timeline/grad_right.png') repeat-y;*/ + } + + #next, + #prev { + position: absolute; + top: 0; + font-size: 70px; + top: 170px; + width: 22px; + height: 38px; + background-position: 0 0; + background-repeat: no-repeat; + text-indent: -9999px; + overflow: hidden; + } + #next:hover, + #prev:hover { + background-position: 0 -76px; + } + #next { + right: 0; + background-image: url('timeline/next.png'); + } + #prev { + left: 0; + background-image: url('timeline/prev.png'); + } + #next.disabled, + #prev.disabled { + opacity: 0.2; + } \ No newline at end of file diff --git a/milfs/css/styletimeline.css b/milfs/css/styletimeline.css new file mode 100644 index 0000000..fdacf72 --- /dev/null +++ b/milfs/css/styletimeline.css @@ -0,0 +1,157 @@ +/* +h1,h2,h4,h5,h6 { + text-align: center; + color: #ccc; + + margin-bottom: 5px; +} + h1 { + font-size: 18px; + } + h2 { + font-size: 14px; + } + +.sociales { + text-align: center; + margin-bottom: 20px; +} +*/ + #timeline { + width: 95%; + height: 500px; + overflow: auto; + margin: 100px auto; + position: relative; + + } + #dates { + width: 100%; + height: 60px; + overflow: hidden; + background: url('timeline/dot.gif') left 45px repeat-x; + } + #dates li { + list-style: none; + float: left; + width: 100px; + height: 50px; + font-size: 24px; + text-align: center; + background: url('timeline/biggerdot.png') center bottom no-repeat; + } + #dates a { + line-height: 10px !important; + font-size: 14px !important; + padding-bottom: 10px; + color: gray !important; + text-decoration: none; + -webkit-transition: 0.5s; + -moz-transition: 0.5s; + -o-transition: 0.5s; + -ms-transition: 0.5s; + transition: 0.5s; +} + #dates a:hover, + #dates a.selected { + color: black !important; + } + #dates .selected { + font-size: 18px !important; + } + + #issues { + width: 100%; + height: 500px;*/ + overflow: hidden; + } + #issues li { + width: 100%; + height: 500px; + list-style: none; + float: left; + } + #issues li.selected img { + -webkit-transform: scale(1.1,1.1); + -moz-transform: scale(1.1,1.1); + -o-transform: scale(1.1,1.1); + -ms-transform: scale(1.1,1.1); + transform: scale(1.1,1.1); + } + #issues li img { + float: left; + margin: 10px 30px 10px 50px; + background: transparent; + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; /* IE 8 */ + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);/* IE 6 & 7 */ + zoom: 1; + -webkit-transition: all 2s ease-in-out; + -moz-transition: all 2s ease-in-out; + -o-transition: all 2s ease-in-out; + -ms-transition: all 2s ease-in-out; + transition: all 2s ease-in-out; + -webkit-transform: scale(0.7,0.7); + -moz-transform: scale(0.7,0.7); + -o-transform: scale(0.7,0.7); + -ms-transform: scale(0.7,0.7); + transform: scale(0.7,0.7); + } + #issues li h1 { + color: red; + font-size: 60px !important; + margin: 20px 0; + //text-shadow: #000 1px 1px 2px; + } + #issues li p { + font-size: 14px; + margin-right: 70px; + font-weight: normal; + line-height: 22px; + //text-shadow: #000 1px 1px 2px; + } + + #grad_left, + #grad_right { + width: 100px; + height: 500px; + position: absolute; + top: 0; + } + #grad_left { + left: 0; + /* background: url('timeline/grad_left.png') repeat-y;*/ + } + #grad_right { + right: 0; + /* background: url('timeline/grad_right.png') repeat-y; */ + } + + #next, + #prev { + position: absolute; + top: 0; + font-size: 70px; + top: 170px; + width: 22px; + height: 38px; + background-position: 0 0; + background-repeat: no-repeat; + text-indent: -9999px; + overflow: hidden; + } + #next:hover, + #prev:hover { + background-position: 0 -76px; + } + #next { + right: 0; + background-image: url('timeline/next.png'); + } + #prev { + left: 0; + background-image: url('timeline/prev.png'); + } + #next.disabled, + #prev.disabled { + opacity: 0.2; + } \ No newline at end of file diff --git a/milfs/css/timeline/biggerdot.png b/milfs/css/timeline/biggerdot.png new file mode 100644 index 0000000000000000000000000000000000000000..66324b66b430b8f644c6c77db4a1e5345e060e4c GIT binary patch literal 1016 zcmaJ=%TE(Q9A2piLWqr;;3FoJCE;ZE)fe4#rLbG1ktJAaY@!KHcc*j%yR+;Lbm5}W zgAz{s4<0-bPKIbAn&82M2d|nK!T}R62G1OvEp72&-DGy=H~GHr_nh^a>DvQ+*ZLTS z87NF@MY{KftM?rJ?_GGeLAR?UUnaA-O6t%<%$SKQ2o!8MkBSJIt4p6ymSG~SRVtIR zJ|!F2=3t270^6l*hRKcwE;JSp0TncFISTvh?Jf%}Q(^BXbwPJkRI?`6JT$vDT{6}d zjEu>S-U8V`rUEu15Crz3oY*b9s)^Dh#5jk04b3Z zdiB&a#5RT`l6P?)(CNBp0C&ITs_WVZ=M%3 znM|l5Nim9u`Ku0rLCo=oS_&HS4bO6kg&hzo!U|p{3QHqBNx^p8vX0*@6D=4YK$jOe zAxx48MJZLq0p5ps~&;`dnJq)TUDH?VS@b{ zc7ZyZ1UfVt|kwaQs^OT$F$PGuqcBy9#dDaRtCp>I}M#{3)IhJ@wy(ZV}9801jm#4w- zVPpSlbnA*vPk3yPEj8MMj~qJf9v$n0ozF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~e^eqc6`=Mp`EOB|kwnIp2Xp6}0W%$9;7?MbT&5;5K9$IB| zNl*c@gAW7>Y*v-Jj?lE}SfG8wmnUOzWcsG^AQK8GGHhx%8uEDWD&pK?y7z2@ z)`gEDD&N9gTlZ^9)xfouPknjeIDAokDr>Xn%-R?JI5-~Qt&RC<8X=WtDg*pI`Hm=7 zK>_CEjX{T=$nRE^HRPdN{8-LTnI<701X+x;izB6`E^)#f!XiG1$eXUP^q^=!U5xl}%+B#p2ayWw6C9 zyd!pFO9SxDxdf%hXT!1GP)4r)uSFU{OKVk8SXgN5LAN`%v&()z+BgC0Jtx`GB0~o$ zqxi)+F+7|kj)~LatlG7ev?(`E&-VS6l{4Vrh?mjjP4~7cu{6i`vU;E!6$pD$cf7=^1)^ay0y6R#Gan6!SOH-e|uXaxRku$p=*tG z=;dE08E3i+sM13n#D(Gw3^YGKEUTF)ID2U4mp28*bM+nJ`O`U0dm=HL3q^9UMYXDa z{KMar!EYhnp+S=YW9?URAd*Px5(PMN&^C7t>G|(`L=~0}Q9PE@zzHdwsfvI&qQs6k|N-=M(!{tBz~X`;Jw}cOcPpc` z7O4odE14q`5NClrXCvX!m@|^I-K-@onjW3UoDfWZB3vC>=02g^au#^Xq3ox)^OISw z+?~M)u$SeF^fPkyWZSwB{w@IZquKq1z;zNg&RIU166LyXmxVPd9VWtBysQRr^{V{y zgb%IOA9M2}w0Q(<_Zp*cW-weWS5=tOZfI$3MluuZuo)n^DdJM&<8H=s-Xiq%JqlQk zL+&#&L^xoC-g0(9*t{KGdv}RcE4k|BnLwt)ll3aDQ57%{YKEJq8UDU!QCJ}b8K381Ozwp9e>ZKa{lHB5s_>yyZC0#Wo i7rRQjhfAz}n<~M$r9Gn3-uTk1d8Gq2r9UDB;QMa~Mf*?y literal 0 HcmV?d00001 diff --git a/milfs/css/timeline/dot.gif b/milfs/css/timeline/dot.gif new file mode 100644 index 0000000000000000000000000000000000000000..609bda0c5a71e36e8a7344c89a2e18f9b5327c39 GIT binary pat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TqWHQIiCqxR3=V zvRyy1yLi)74L_pDx3QsXJW~){*HPuNp2;eTG^doIB$Z%6%H;FK^mJ}o&Ss{e)aUBN zUh}X|`&{RUD-Y!+qu>S1vyMae0d~qE@jy3a)g2m3t~^w)$90Cs0*7)%7L1rQ_OC|w zuh{e?$HCY#V=(yGXVV_Cv3~jL(F`t>-AK(5xK6d%) z!Q;*6+ve89pL^5^S2r@3S2IB#$9hdOAHhHz^3hw6kH? z`RwzNyM2rQ(+6+w^64R4Z?bLDW<5l)uy3@ZvLG5`+mcXf#>V-84NC zN+`ofX&7_1AS|tFUQg<25}_SgF$^QqP}Mv~ zsQxwaJ1hbTeK-c|0 zGz>@Rgw^qt-?73;;~>Uz9VcX;di>(ri&?1HtWb;?p$$UzhE=R}2_s3D#GtZW1TOM| zDBJh(u4_6`!cgR4$F@YSAO(TXt7#azYM0jZs-h_Ca8)T7Mnx-^%4)GthRTp@6K_An z5gT&-E3SSmH*1A3=8K#>WxwcFNmYb3WeWPr`BR)kgZg_50#tWkRj(?6h@nWI_b-H+o_bbsm*oLe}%r%s;VI2I;^uk*Rk SrtY`wp*ibY_WQNxCw~Ep2P{qi literal 0 HcmV?d00001 diff --git a/milfs/css/timeline/grad_top.png b/milfs/css/timeline/grad_top.png new file mode 100644 index 0000000000000000000000000000000000000000..4e0a5da6806cd373a15e9dbfb2dc6310585a9e25 GIT binary patch literal 989 zcmaJ=&ui0A9M4#lF&L;Yor3Vl23~CPlCJF<8b_O?u3*N@3ijC7~uOpCnJ!sB}#=t zA<>ZKG()7LEuW$|?MJf%1sz9r=myj!K1dW%lWbCzXOW(y-~~fjKkAo>6-;Xm>IQ#h(^1z5CjL^ea4HEwM-aTO?9h!G`WjgXB&6<6AXlBi7r zpsi+siEP(T>>l1Um8u_6T-Q-bIXP3&^h#M^%6j zD;)09>3hZ(ar)KK<(c&O++nNnesAaTS^uE1^Lgyt%-%Eeq1@h19X|Q~;Q09X%1h<# a8Eyh{2Ok?>_wRS3OStVHj03c^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S$#Y*SOog0$kEk zI(He84b*OwB@@GY`8H`;^uyN((}WBKL*MmchAHa&6MsWhb+hxu3pIDYBrfV#9(trw z_8`q?QNvbPCU4U6_TJ5Yre4XiwQ+!@`(70yQB%KUiWf~2RdA9W5V3Uz)jU_sQI@V- zD!W*$89$)y_TU3o`<#xPnzpxj50W}xCw(P3=fvD!_Yr3U2Rh{4U?$vG;rF%?K+?RdZ?^dJ`950K)>Ui?}JE1v@1$=FQY~s5}{Qd^UXpP^7 z)C9X{cTygAeWrfRP7a!;F9@&NwwlLPj@rGjyrVUDRQ)r!UIjfP$9z+e@;N~xywEWb_6mWAIogSZPX{`EJd?(;)qf5;(!41NV%j<@@!!pR3QtvV_ zvf8ivw#>3nz%!|OlVMhgd2%N;3Ux~~N3FfDI7EM#>^m7O+OR2mmB~c&>2aB7!5WLT zlYE=P`TFvB6(93msaIf#?89zpNy@&fj3TXaw$ zrgGHJk|taC&VIa_)NxiL^OITJqx1m2N1#<96#XKhG~t7ArsG6A`QnuOV&Ra#$%piS zEn50cc3APFNRP8zL?4=c*2-nn7A?(ww=*w*B$9Q=3(LqsWJWBt&Z!yie!3>-1kR}amZX*he|*{Y m83Q|$A^x_kGjw@bqYeObJ(~aMtA)|ZKd}wY4$I%?8S!s3jVqY| literal 0 HcmV?d00001 diff --git a/milfs/css/timeline/next_v.png b/milfs/css/timeline/next_v.png new file mode 100644 index 0000000000000000000000000000000000000000..05e84ff2f55f54354959f2062ed29dc2bce4e510 GIT binary patch literal 2880 zcmbVOc{G%JA0H7aT5M6&+_6Mq7RHRRWXxCwV^2c8rkTeW%+f4oER`g(rMhFe-D|BZ z_tKTEgebC=OSef`i!Mq+lE!v>N9DfnANSn%ocB5Bd4AjX^Z9O{-#JgByQ_oZ=3SdX zAdn)#5$`D(^(3#YysYGF;d^aVGH7t^e7RoCATFQ820&N}^Edz|&`DIl6ChC{PILg4 zAdqwr&D)pjOLW1InRH{)nvJo5&XS-(Aj^XS7Kt1RaKXm`Dve4#fF8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f@L*3@sJse9`81(<+xkf4@~<%2*_~8G+#mH9s?Gsm literal 0 HcmV?d00001 diff --git a/milfs/css/timeline/prev_v.png b/milfs/css/timeline/prev_v.png new file mode 100644 index 0000000000000000000000000000000000000000..95b6ff848773eca8a21af9529129044d693e41fa GIT binary patch literal 2892 zcmbVOdo+}J9~Xs4DA$B(l1!VKXNEDCObs(GGaC0IVRxDt4Cc~Ym~l&E>EgPUQVKCh zyM^3&Q5GeOrP@s;cgm#@(pL5zwf24g*t73B?{m)c{C?lx@B8_D@8>+{T%8@%RCcJy z$;qja9Et9-)l~M{Dl5vq2fU>tvPEBD=PmHy1PH>ZJcgVNopXW#BC)7}40i^VEk4^4o6u6CDuu$BPQ-Uf*VYzb%r z9Bv0-Y%S0P48jI!X#)_fY|-mj5}PlevT2NUyG)tgFIbfQKVq>29)l|2@H{!3(De>* z4dMtm{2&e&MDRd@C{!Agy(X`f=S#Fi29FuWpxg5}EYRotVwrzq|9{8*1xx>bat4z* z16ym3|7w=?BUuNoZU1V0nef-}Fxaw*;mJk=`JQl1PEIL`M6~e~J$-&j?7BT%>z*+Q ztssfranr#wZNr&MI)+uEA-Iap4_ke%uDVri&p0~m9r)PB7OT8)xJ7B2rNYu||KKK_AaL^invX>E&Vs9k^mXqbO3!a`2gYJ$n0bf6Frd z&dWp~Hqh6@>V?4STuUVJ+r3vah%LI3~ZHer~XaXgB7|8yzzu8{8}R=N@bj@xHakbee#jM1|Jd##cc|)ZM<9yVIO)% zjL%nH_w#()=0M_Z07dSl#8s>Y|V2 zj0<<@eB5AvfuOv%DPE^v%OY3x(vre*LU_-ERD3CXFx~)vIjb~k z+N#+vOmiGh^MF8H9M2()l4o0tF;R%+32bh9ef0GP@yf~&FYhgc87dVM{a1Hfgk5nV zc{Dr6mj#Xbcs!n-E=BGw5AQGONUgZEf8~N(##px@=y~&1sY#)Q87c5)&Q!ih-Qy{n z;vDsw?@jUT-P^7azmFTPSuT)nulZ_tWhBhTqXpt09p%{ys_V6B|FszduOTXk3;x9cN zV+nc1YO}ikiGg*jFfi6h>>*tq-gXSsTO^&1{0Z(-Xj?M8OQ^eQoZ*>MqgSeenkGNE z8LX|fU?!v=2NpPOWg{#}H(h!oBEFsq|-D4(`I8CG{lzb5_(deQl6?A7#k=cL>IndqzO+xm!- zxfhqa;?z*{Zz3D4TW1%{UtN51x21BLQu}mh3mM#C_{NSj^=r>iYq~gHGJ{e#7V7KBn6@Y~5npnw zJk<%Dtbixvx0l`bQW%R=J)V(KUFYC=F*8jUyg4XpLp6njIa8;i+S;~3o;gQFXV8zA z{&b&}1nDRqoGR`LSkk~2H-E}O6icsH9k~`09kx$8Z*9G)Q+?pvX!fi_(+S5skLrg7 z((@AI;U_Iw#YZSayRYb$A>SCVBOJ2R(`Ko|za!2VEobzd$0x}{C+qgKh( zEqB!t`mPT)W~71NF*}c2dM&(UHGrabar + + "; + $respuesta->addAssign($div,"innerHTML",$resultado); + $respuesta -> addScript("xajax_formulario_campos_select('$perfil','parametrizacion')"); + return $respuesta; + } + elseif($accion =='grabar'){ + if($form[tipo] =='categoria') { + $url_icon = "http://$form[icon]"; + $es_imagen = es_imagen("$url_icon"); + $altura = GetImageSize($url_icon); + $altura= $altura[1]; + if($form[id_campo] =='') { $error = "Seleccione un campo";} + elseif($form[campo_filtro] =='') { $error = "Seleccione Filtro";} + elseif(!$es_imagen ) { $error = " [ $url_icon ] no es una imagen válida para el ícono";} + elseif($altura > 150 ) { $error = " El ícono no debe tener mas de 150 pixeles de alto.";} + elseif($form[icon] =='') { + $error = "Escriba la dirección del ícono"; + } + else {$error='';} + if( $error !='') { + $respuesta -> addAlert("$error $revisar_url "); + return $respuesta; + }else{ + $categoria_icono[tabla] = "form_id"; + $categoria_icono[campo] = "$form[perfil]"; + $categoria_icono[opcion] = "$form[tipo]:icon:$form[campo_filtro]"; + $categoria_icono[descripcion] = "$url_icon"; + $categoria_icono[visible] = "1"; + $categoria_icono[accion] = "grabar"; + $grabar_icono = parametrizacion($categoria_icono); + + $categoria_campo[tabla] = "form_id"; + $categoria_campo[campo] = "$form[perfil]"; + $categoria_campo[opcion] = "$form[tipo]:campo"; + $categoria_campo[descripcion] = "$form[id_campo]"; + $categoria_campo[visible] = "1"; + $categoria_campo[accion] = "grabar"; + $grabar_campo = parametrizacion($categoria_campo); + + $categoria_filtro[tabla] = "form_id"; + $categoria_filtro[campo] = "$form[perfil]"; + $categoria_filtro[opcion] = "$form[tipo]:filtro:$form[id_campo]"; + $categoria_filtro[descripcion] = "$form[campo_filtro]"; + $categoria_filtro[visible] = "1"; + $categoria_filtro[accion] = "grabar"; + $grabar_filtro = parametrizacion($categoria_filtro); + + + $resultado =" $form[campo_filtro] $form[id_campo] ($altura ) [$grabar_icono]"; + $respuesta->addAssign($div,"innerHTML",$resultado); + return $respuesta; + } + + }/// fin de parametrizacion categorias + } + else { + $listado ="

Listado de parametrizaciones

$nombre[0]

+
+ "; + $respuesta->addAssign($div,"innerHTML",$listado); + return $respuesta; + } + +$link=Conectarse(); +mysql_query("SET NAMES 'utf8'"); +$consulta = " + SELECT md5(binary contenido) as md5_contenido, contenido FROM form_datos + WHERE form_id = '$perfil' + AND id_campo = '$campo' + GROUP BY contenido + ORDER BY contenido asc"; +$sql=mysql_query($consulta,$link); +if (mysql_num_rows($sql)!='0'){ +$resultado = " + "; + } +else{$resultado = 'nada';} + +if($div !="") { +$respuesta->addAssign($div,"innerHTML",$resultado); +return $respuesta; + }else{return $resultado;} + + } +$xajax->registerFunction("formulario_parametrizacion"); + +function lista_categorias($perfil,$categoria,$tipo) { + +$link=Conectarse(); +mysql_query("SET NAMES 'utf8'"); + $categoria_campo = remplacetas('parametrizacion','campo',$perfil,'descripcion'," tabla='form_id' and opcion = 'categoria:campo'") ; + $categoria_campo = $categoria_campo[0]; +$consulta = " + SELECT md5(binary contenido) as md5_contenido, contenido FROM form_datos + WHERE form_id = '$perfil' + AND id_campo = '$categoria_campo' + GROUP BY contenido + ORDER BY contenido asc"; +/* + $consulta = " + SELECT opcion, GROUP_CONCAT(descripcion ORDER by id desc ) as data FROM `parametrizacion` WHERE `tabla` LIKE 'form_id' AND `campo` LIKE '$perfil' AND `opcion` LIKE 'categoria:icon:%%' group by descripcion + "; + */ + /* + $categoria_filtro = remplacetas('parametrizacion','campo',$id,'descripcion',"tabla='form_id' and opcion = 'categoria:filtro:$row[id_campo]'") ; + $filtro = $categoria_filtro; + $categoria_filtro = $categoria_filtro[0]; + $icono = remplacetas('parametrizacion','campo',$id,'descripcion'," tabla='form_id' and opcion = 'categoria:icon:$md5_contenido'") ; + if($icono[0] =='') { + $icon = "http://$_SERVER[HTTP_HOST]/milfs/images/pin.png "; + }else{ + + $icon = $icono[0]; + } + $icono = "$icon"; + */ +$sql=mysql_query($consulta,$link); +if (mysql_num_rows($sql)!='0'){ +$resultado = "
    "; +while( $row = mysql_fetch_array( $sql ) ) { + /* $identificador = explode(',',$row[data]); + $categoria = explode(':',$row[opcion]); + $categoria = $categoria[2]; + $identificador = $identificador[0]; + */ + $icono = remplacetas('parametrizacion','campo',$perfil,'descripcion'," tabla='form_id' and opcion = 'categoria:icon:$row[md5_contenido]'") ; + if($icono[0] =='') { + $icon = "http://$_SERVER[HTTP_HOST]/milfs/images/pin.png "; + }else{ + + $icon = $icono[0]; + } + $icono = "$icon"; +$resultado .= "

  • $row[contenido]
  • "; + } +$resultado .= "
"; + } +else{$resultado = 'nada';} + +return $resultado; +} + +function imprime_geojson($id,$id2){ + $id_form = mysql_seguridad($id); + $id_form2 = mysql_seguridad($id2); + $campo = buscar_campo_tipo($id_form,"14"); + $campo2 = buscar_campo_tipo($id_form2,"14"); + $id_campo = $campo[0]; + $id_campo2 = $campo2[0]; + if($id_form2 !=""){$w_id2 =" OR form_id = '$id_form2'"; $or_2 ="or id_campo = '$id_campo2'";} + +$link=Conectarse(); + + $consulta = "SELECT form_id as id, control, GROUP_CONCAT(contenido ORDER by timestamp desc ) as data + FROM `form_datos` + WHERE (form_id = '$id_form' $w_id2 ) + AND ( id_campo ='$id_campo' $or_2 ) + group by control + ORDER BY orden desc"; + + + mysql_query("SET NAMES 'UTF8'"); + $sql = mysql_query($consulta,$link) or die("error al ejecutar consulta "); + if (mysql_num_rows($sql)!='0'){ + $id = 1; + $features = array(); + +while( $row = mysql_fetch_array( $sql ) ) { + $marcador = array(); + $propiedades = array(); + $identificador = explode(',',$row[data]); + $identificador = $identificador[0]; + $campos = explode(" ",$identificador); + $lat = $campos[0]; + $lon = $campos[1]; + $zoom = $campos[2]; + $formulario = formulario_imprimir($row[id],$row[control],'full'); + + $marcador["type"] = "Point"; + $marcador["coordinates"] = array($lat,$lon); + $propiedades = formulario_imprimir_linea($row[id],$row[control],"array");// + //$propiedades[description] ="HOLA MUNDO"; + $propiedades[description] ="
$formulario
"; + $propiedades[sounds] =""; + $propiedades[url] =''; + //$propiedades[title] ='Hola mundo'; + //$propiedades[icon][iconUrl] = "images/pin.png"; + $geometria .= "{\"type\":\"Feature\",\"geometry\":".json_encode($marcador,JSON_NUMERIC_CHECK|JSON_PRETTY_PRINT).",\"properties\":".json_encode($propiedades,JSON_NUMERIC_CHECK|JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_HEX_AMP | JSON_UNESCAPED_UNICODE|JSON_PRETTY_PRINT)."},"; + $features[] = $marcador; + + $id++; + } + +} +//-75.58295 6.25578 16 + +//encode and output jsonObject +header('Content-Type: text/plain'); +//echo $consulta; +$resultado = " { \"type\": \"FeatureCollection\", + \"features\": "; +$resultado .= json_encode($features,JSON_NUMERIC_CHECK|JSON_PRETTY_PRINT); +$resultado .= "}"; +//echo $resultado; +$geometria = substr("$geometria",0,-1); +$geometria = "{ + \"type\": \"FeatureCollection\", + \"features\": [$geometria ]}"; +return $geometria; +} + + +function aplicacion_presentacion($id,$div,$timeout){ + if($timeout < '1000') {$timeout =5000;}; + $respuesta = new xajaxResponse('utf-8'); +$consulta ="SELECT * FROM form_datos WHERE form_id = '$id' ORDER BY rand() limit 1 "; +$link=Conectarse(); +$sql=mysql_query($consulta,$link); +if (mysql_num_rows($sql)!='0'){ +$control = mysql_result($sql,0,control); +$impresion = formulario_imprimir("$id","$control",""); + + } +$siguiente = "SIGUIENTE"; +if($div ==''){ + $presentacion = "
$siguiente $impresion
"; + }else{ + //$respuesta->addAlert("$consulta"); + $respuesta->addScript("setTimeout(function(){xajax_aplicacion_presentacion('$id','presentacion_$id','$timeout')},$timeout)"); + $respuesta->addAssign("$div","innerHTML","$siguiente $impresion"); + return $respuesta; + } +return " $presentacion"; + + +} +$xajax->registerFunction("aplicacion_presentacion"); + +function aplicaciones_listado($id_form,$tipo){ + +// if($id_empresa !=''){ $_empresa = " ";} + //if($tipo =='publico'){ $w_publico =" publico ='0'";}else {$w_publico =" publico ='1'";} + if($id_form !="") {$w_form = " AND id = '$id_form'";} + $w_publico =" publico ='1'"; +$link=Conectarse(); +mysql_query("SET NAMES 'utf8'"); +$consulta = "SELECT * FROM form_id WHERE $w_publico $w_form ORDER BY orden asc "; +mysql_real_escape_string($consulta); +$sql=mysql_query($consulta,$link); + + +if (mysql_num_rows($sql)!='0'){ + mysql_data_seek($sql, 0); + $resultado_li .= "
    "; + //$resultado_nav .= ""; + }else {$resultado_li = "";} + +if($tipo =='li') { return $resultado_li.$resultado;} +elseif($tipo =='nav') { return $resultado_nav;} +else {return $resultado;} +} +$xajax->registerFunction("aplicaciones_listado"); + +function contenido_parallax($id){ +$div = "contenedor"; + $respuesta = new xajaxResponse('utf-8'); + + $campo_titulo = remplacetas('parametrizacion','campo',$id,'descripcion'," tabla='form_id' and opcion = 'titulo'") ; +if($campo_titulo[0] !='') {$w_campo = "AND id_campo = '$campo_titulo[0]'";} +$campo_titulo = $campo_titulo[0]; +$consulta ="SELECT *,GROUP_CONCAT(id ORDER by timestamp desc ) as identificador FROM form_datos WHERE form_id = '$id' $w_campo GROUP BY control order by contenido"; +$link=Conectarse(); +$sql=mysql_query($consulta,$link); +if (mysql_num_rows($sql)!='0'){ + $control = mysql_result($sql,0,control); + //$contenido = "