- 01
 - 02
 - 03
 - 04
 - 05
 - 06
 - 07
 - 08
 - 09
 - 10
 - 11
 - 12
 - 13
 - 14
 - 15
 - 16
 - 17
 - 18
 - 19
 - 20
 - 21
 - 22
 - 23
 - 24
 - 25
 - 26
 - 27
 - 28
 - 29
 - 30
 - 31
 - 32
 - 33
 - 34
 - 35
 - 36
 - 37
 - 38
 - 39
 - 40
 - 41
 - 42
 - 43
 - 44
 - 45
 - 46
 - 47
 - 48
 - 49
 - 50
 - 51
 - 52
 - 53
 - 54
 - 55
 - 56
 - 57
 - 58
 
                        //               
                   // <?php if (!Yii::app()->user->checkAccess('partner')) { ?>
                        a+='<td'+cl+'>'+msg['keywords'][i][mord] + '</td>';
                   // <?php } ?>
                        //'</strong></td><td'+cl+'>'+currentMordCost+
                        a+='<td'+cl+'>'+(msg['keywords'][i]['costM'])
                        +'</td>'+
                        '<td'+cl+'>'+$.getTiming(msg['domainTrust'], msg['keywords'][i][mord]) + '</td>' +
                        '<td'+cl+'><img class="info" src=\"/images/information.png\" alt=\"'+i+'\" id=\"'+i+'\" > <B>' +msg['keywords'][i]['notice']+'</B></td></tr>';
                        msg['keywords'][i]['domainTrust'] = msg['domainTrust'];
                        hints[i]=jQuery.getHint(msg['keywords'][i]);
                        if (msg['keywords'][i]['bad']==true)
                            badCount++;
                        //mordNestedCost = mord/2 / msg['keywords'][i]['nested'].length;
                        //costMNested=(msg['keywords'][i]['costM']) / 2 / msg['keywords'][i]['nested'].length;
                        //if (halfMord == "-")
                        //	mordNestedCost = costMNested = "-";
                            mod='';modA='';
                        for (k=0;k<msg['keywords'][i]['nested'].length;k++)
                        {
                            if (k==parseInt(msg['keywords'][i]['up']))
                                {
                                    mod  = '<span style="color:#626262;font-weight:bold;">';
                                    modA = '<\/span>';
                                }
                                if (msg['keywords'][i]['nested'][k]['freq'] <= 50 && msg['keywords'][i]['nested'][k]['mordCost'] >= 1)
                                        {
                                msg['keywords'][i]['nested'][k]['notice'] += " <BR><span style='color:red'>Возможно посчитано неверно!</span>";
                                hasCriticalErrors = true;
                                        }
                            a+= '<tr><td'+cl+'>' + mod + '    '+(msg['keywords'][i]['nested'][k]['title'])+ modA +
                            '</td>';
                        // // <?php if (!Yii::app()->user->checkAccess('partner')) { ?>
                            a+='<td'+cl+'>'+(msg['keywords'][i]['nested'][k][mord])+'</td>';
                        // <?php } ?>
                            a+='<td'+cl+'>'+
                            //'</td><td'+cl+'>'+currentNestedMordCost+'</td><td'+cl+'>'+
                            (msg['keywords'][i]['nested'][k]['costM'])+'</td>'+
                                '<td'+cl+'>'+$.getTiming(msg['domainTrust'], msg['keywords'][i]['nested'][k][mord]) + '</td>' +
                                '<td'+cl+'>'+'<img class="info" src=\"/images/information.png\" alt=\"info_'+i+'_'+k+'\" id=\"'+i+'_'+k+'\" >'+' <B>'+msg['keywords'][i]['nested'][k]['notice']+'</B></td></tr>';
                            msg['keywords'][i]['nested'][k]['domainTrust'] = msg['domainTrust'];
                            hints[i+'_'+k]=jQuery.getHint(msg['keywords'][i]['nested'][k]);
                            if (msg['keywords'][i]['nested']['bad'] == true)
                                badCount++;
                        }
                                 
        
классическое