Code Duplication    Length = 3-3 lines in 2 locations

class/utility.php 2 locations

@@ 2966-2968 (lines=3) @@
2963
            && $published['offline'] === 0
2964
        ) {
2965
            $published_status = $xtubeImageArray['online'];
2966
        } elseif (($published['expired'] && $published['expired'] < time()) && $published['offline'] === 0) {
2967
            $published_status = $xtubeImageArray['expired'];
2968
        } else {
2969
            $published_status = ($published['published'] === 0) ? '<a href="newvideos.php">' . $xtubeImageArray['offline'] . '</a>' : $xtubeImageArray['offline'];
2970
        }
2971
@@ 3091-3093 (lines=3) @@
3088
        ) {
3089
            //        $published_status = $xtubeImageArray['online'];
3090
            $published_status = '<a href="main.php?op=toggle&amp;lid=' . $lid . '&amp;offline=' . $published['offline'] . '"><img src="' . $pathIcon16 . '/1.png' . '" /></a>';
3091
        } elseif (($published['expired'] && $published['expired'] < time()) && $published['offline'] === 0) {
3092
            $published_status = $xtubeImageArray['expired'];
3093
        } else {
3094
            $published_status = ($published['published'] === 0) ? '<a href="newvideos.php">' . $xtubeImageArray['offline'] . '</a>' : '<a href="main.php?op=toggle&amp;lid='
3095
                                                                                                                                      . $lid
3096
                                                                                                                                      . '&amp;offline='