Changeset 1176
- Timestamp:
- Apr 15, 2006, 12:15:24 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_session.inc.php
r1164 r1176 166 166 ;'; 167 167 pwg_query($query); 168 if ( mysql_affected_rows()==-1 ) 169 { 168 if ( mysql_affected_rows()==0 ) 169 { // 2 possible cases: 170 //- the user has just login so we need to insert 171 //- the user went through 2 pages very fast (in the same second), so 172 // data and expiration are the same as before 170 173 $query = ' 174 SELECT id FROM '.SESSIONS_TABLE.' 175 WHERE id = \''.$session_id.'\' 176 ;'; 177 $id = array_from_query( $query, array('id') ); 178 if ( empty($id) ) 179 { 180 $query = ' 171 181 INSERT INTO '.SESSIONS_TABLE.' 172 182 (id,data,expiration) 173 183 VALUES(\''.$session_id.'\',\''.$data.'\',now()) 174 184 ;'; 175 pwg_query($query); 185 pwg_query($query); 186 } 176 187 } 177 188 return true; -
trunk/template/yoga/image.css
r950 r1176 66 66 } 67 67 68 #theImage IMG { 69 border-width: 3px; 70 border-style: solid; 71 } 72 68 73 .navThumb { 69 74 margin-top: 2px; … … 97 102 font-weight: bold; 98 103 text-align: right; 99 padding-right: 0.5em; 104 padding-right: 0.5em; 100 105 } 101 106 -
trunk/template/yoga/theme/clear/theme.css
r1136 r1176 20 20 21 21 /* borders */ 22 #menubar DL, #content, #imageToolBar, #theImage IMG,22 #menubar DL, #content, #imageToolBar, 23 23 #comments DIV.comment BLOCKQUOTE { 24 24 border: 1px solid #d3d3d3; … … 26 26 27 27 #theImage IMG { 28 border- width: 3px;28 border-color: #d3d3d3; 29 29 } 30 30 -
trunk/template/yoga/theme/dark/theme.css
r1136 r1176 47 47 48 48 /* borders */ 49 #menubar DL, #content, #imageToolBar, #theImage IMG,49 #menubar DL, #content, #imageToolBar, 50 50 #comments DIV.comment BLOCKQUOTE { 51 51 border: 1px solid #000000; … … 53 53 54 54 #theImage IMG { 55 border- width: 3px;55 border-color: #000000; 56 56 } 57 57
Note: See TracChangeset
for help on using the changeset viewer.