<?php
$lines=array();
exec("svn --username zhangwei --password 123654 list http://192.168.1.9/svn/t" ,$lines);
foreach($lines as $key=>$value)
{
echo "<p><a href='' onclick='test(\"".$value."\")'><img src='static/images/ico/dir.png'>".$value."</img></a>";
}
function test($value){
echo $value;
}
?>