- Timestamp:
- 12/21/06 17:05:02 (14 years ago)
- Location:
- dev
- Files:
-
- 39 added
- 1 removed
- 6 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/common/class.http.php
r158 r159 51 51 } 52 52 53 $this->fp = @fsockopen($this->url["host"], 80, $errno, $errstr, 10);53 $this->fp = @fsockopen($this->url["host"], 80, $errno, $errstr, 5); 54 54 if (!$this->fp) 55 55 { -
dev/common/class.killboard.php
r91 r159 32 32 and ctr_site = '".$this->site_."'"; 33 33 if ($active) $sql .= " and ctr_ended is null"; 34 $qry->execute($sql) or die ($qry->getErrorMessage());34 $qry->execute($sql); 35 35 return ($qry->recordCount() > 0); 36 36 } … … 44 44 and ctr_site = '".$this->site_."'"; 45 45 if ($active) $sql .= " and ( ctr_ended is null or now() <= ctr_ended )"; 46 $qry->execute($sql) or die ($qry->getErrorMessage());46 $qry->execute($sql); 47 47 return ($qry->recordCount() > 0); 48 48 } -
dev/common/class.parser.php
r158 r159 377 377 $locpos = strpos($destroyed[$i], "("); 378 378 379 if ($container && $ qtypos == false)379 if ($container && $locpos != false) 380 380 { 381 381 $container = false; -
dev/common/class.thumb.php
r158 r159 23 23 } 24 24 25 if (headers_sent()) 26 { 27 echo 'Error occured.<br/>'; 28 return false; 29 } 25 30 if ($this->_encoding == 'jpeg') 26 31 { … … 37 42 function validate() 38 43 { 44 if (!$this->_size) 45 { 46 $this->_size = 32; 47 } 39 48 switch ($this->_type) 40 49 { … … 116 125 } 117 126 127 @ini_set('default_socket_timeout', 5); 118 128 $file = @file_get_contents('http://img.eve.is/serv.asp?s=256&c='.$this->_id); 119 129 if ($img = @imagecreatefromstring($file)) … … 133 143 $file = $http->get_content(); 134 144 135 if ($img = imagecreatefromstring($file))145 if ($img = @imagecreatefromstring($file)) 136 146 { 137 147 $fp = fopen('cache/portraits/'.$id.'_256.jpg', 'w'); -
dev/install/install_step4.php
r149 r159 1 1 <?php 2 2 $stoppage = true; 3 include('../common/php_compat.php'); 3 4 4 5 $struct = $opt = $data = array(); -
dev/templates/icon.tpl
r137 r159 1 1 <!-- icon.tpl --> 2 <div class="item-icon" style="background: url({$img}); border: none; height:32px; width:32px "><img border="0" src="{$icon}"/></div>2 <div class="item-icon" style="background: url({$img}); border: none; height:32px; width:32px; text-align:left;"><img border="0" src="{$icon}"/></div> 3 3 <!-- /icon.tpl -->