Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $data = file_get_html('http://acm.timus.ru/author.aspx?id=133936');
- if($data->innertext!='' and count($data->find('td'))){
- foreach($data->find('.accepted') as $a){
- if (isset($plg->plaintext)) $plgObj = 'plgContent' . ucfirst($plg->plaintext);
- echo " ".$a->plaintext.' ';
- $data2 = file_get_html('http://acm.timus.ru/status.aspx?space=1&num='.$a->plaintext.'&author=133936');
- foreach($data2->find('.date') as $a){
- if (isset($plg->plaintext)) $plgObj = 'plgContent' . ucfirst($plg->plaintext);
- echo "<td>".$a->plaintext."</td>";
- $i++;
- }
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement