1. PHP / Говнокод #384

    +36.8

    1. 1
    2. 2
    3. 3
    4. 4
    5. 5
    6. 6
    7. 7
    8. 8
    9. 9
    $attachItems = "<table style=\'font-size : 8pt\' cellspacing = \'0\'><tr>"
    ."<td><img src=\'/js/extjs/resources/images/talentor/ico/files/mov.gif\'>  </td>"
    ."<td>".($justHTML == false ? '<a href=\\\'#\\\''
    .' onclick=\"new Ext.Window({title:\\\''.$rowData['name'].'\\\',resizable:false,maximizable:true,cls:\\\'window\\\',modal: true,width: 417,height : 375     ,html:\\\''.htmlspecialchars(flv('/files/persons/'.$rowData['name'],400,300)).'\\\'}).show();\"'
    ."\'>".$rowData['name']."</a>" : $rowData['name'] )."</td>"
    .(($justHTML == false && $deleteAttach == true) ? "<td>  <img  onclick=\'ERP.INTERVIEW.deleteVideo(\\\"".$rowData['name']."\\\",document.getElementById(\\\"intvideoid\\\").value,".$intId.",".$personId.")\' onmouseover=\' this.src=\\\"/js/extjs/resources/images/talentor/ico/remove_active.gif\\\" \' onmouseout=\'this.src=\\\"/js/extjs/resources/images/talentor/ico/remove.gif\\\" \' src=\'/js/extjs/resources/images/talentor/ico/remove.gif\'></td>" : '')
    ."</tr></table>"
    ."<input type=\'hidden\' id=\'intvideoid\' value=\'".$rowData['id']."\'>";
    if  (!$justHTML && $deleteAttach) $attachItems = "{xtype: 'panel', id: 'intVideo', html: '".$attachItems."'}";

    Нет слов

    Запостил: guest, 13 Января 2009

    Комментарии (2) RSS

    Добавить комментарий