Revision: 24148
                            
                                                            
                                    
                                        
Initial Code
                                    
                                    
                                                            
                                    
                                        
Initial URL
                                    
                                    
                                
                                                            
                                    
                                        
Initial Description
                                    
                                    
                                
                                                            
                                    
                                        
Initial Title
                                    
                                    
                                                            
                                    
                                        
Initial Tags
                                    
                                    
                                
                                                            
                                    
                                        
Initial Language
                                    
                                    
                                                    
                        at February 22, 2010 11:37 by stipsan
                            
                            Initial Code
$templatearray = array();
$commercial = new DirectoryIterator('demos');
foreach($commercial as $file)
{
	if($file->isDot() || !$file->isDir()) continue;
	$path = $file->getPathname().'/templates/'.$file->getBasename().'/templateDetails.xml';
	if(!file_exists($path)) continue;
	$xml = simplexml_load_file($path);
	$templatearray[$file->getPathname()] = (string)$xml->name;
}
                                Initial URL
Initial Description
Initial Title
Templates list for demos
Initial Tags
Initial Language
PHP