Changeset 239 for trunk/admin/modules/Elezioni/ele_come.php
- Timestamp:
- Jun 6, 2015, 4:07:00 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele_come.php
r23 r239 44 44 include("inc/funzioni.php"); 45 45 46 46 47 function come() { 48 47 49 global $admin, $bgcolor1, $bgcolor2, $prefix, $dbi, $id_cons, $tipo_cons, $id_cons,$id_cons_gen, $editimage1, 48 50 $add_content, $add_preamble, $add_title, $vai,$mid,$tab,$op,$editor; … … 53 55 elseif ($tab=='_ele_link') echo "<center><font class=\"title\"><b>"._ADMINLINK."</b></font></center><br>"; 54 56 55 echo "<br>"; 56 57 58 echo "<center><font class=\"title\"><b>"._ALLCOME."</b></font><br><br><table border=\"0\" width=\"70%\" >" 59 ."<td bgcolor=\"$bgcolor1\" align=\"center\"><b>"._TITOLO."</b></td>" 60 ."<td bgcolor=\"$bgcolor1\" align=\"center\"> <b>"._FUNZIONI."</b> </td></tr>"; 57 //echo "<br />"; 58 59 60 echo "<center><font class=\"title\"><b>"._ALLCOME."</b></font><br/><br/>\n 61 <table border=\"0\" width=\"100%\" >\n 62 <td bgcolor=\"$bgcolor1\" align=\"center\"><b>"._TITOLO."</b></td>\n 63 <td bgcolor=\"$bgcolor1\" align=\"center\"> <b>"._FUNZIONI."</b> </td></tr>\n"; 64 65 61 66 $result = mysql_query("select mid, title,preamble, content, editimage from ".$prefix.$tab." where id_cons='$id_cons'", $dbi); 62 67 while(list($mid2, $title, $preamble, $content, $editimage) = mysql_fetch_row($result)) { … … 71 76 72 77 } 73 echo "</table><br >";74 echo "<table border=\"0\" width=\" 70%\"><tr><td>";78 echo "</table><br/>"; 79 echo "<table border=\"0\" width=\"100%\"><tr><td>"; 75 80 echo "<br>"; 76 81 if($vai=='editedit'){ … … 95 100 echo "<b>"._PREAMBOLO.":</b><br>"; 96 101 //25 maggio 2009 97 if ($editor) 98 js_textarea("add_preamble", "$add_preamble", "$ed_user", "80", "10"); // 25 --> 24 maggio 2009 editor' 99 else 102 103 if ($editor=="1"){ // cambiato ckeditori giugno 2015 104 echo "<textarea class=\"modulo\" id=\"add_preamble\" name=\"add_preamble\" rows=\"7\" wrap=\"virtual\" cols=\"60\"></textarea><br><br><b> 105 <script type=\"text/javascript\"> 106 CKEDITOR.replace('add_preamble'); 107 </script>"; 108 // old fckeditor 109 //js_textarea("add_preamble", "$add_preamble", "$ed_user", "80", "10"); // 25 --> 24 maggio 2009 editor' 110 }else{ 100 111 echo "<textarea class=\"modulo\" name=\"add_preamble\" rows=\"7\" wrap=\"virtual\" cols=\"60\">$add_preamble</textarea><br><br><b>"; 112 } 113 101 114 // 102 115 echo "<br><br><b>"; … … 110 123 //25 maggio 2009 111 124 112 if ($editor) 113 js_textarea("add_content", "$add_content", "$ed_user", "80", "20"); // 25 -->24 maggio 2009 editor 125 if ($editor=="1") 126 echo "<textarea class=\"modulo\" id= \"add_content\" name=\"add_content\" rows=\"15\" wrap=\"virtual\" cols=\"60\"></textarea><br><br> 127 <script type=\"text/javascript\"> 128 CKEDITOR.replace('add_content'); 129 </script>"; 130 131 // js_textarea("add_content", "$add_content", "$ed_user", "80", "20"); // 25 -->24 maggio 2009 editor old 114 132 else 115 133 echo "<textarea class=\"modulo\" name=\"add_content\" rows=\"15\" wrap=\"virtual\" cols=\"60\">$add_content</textarea><br><br>";
Note:
See TracChangeset
for help on using the changeset viewer.