-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunctions.php
More file actions
29 lines (29 loc) · 783 Bytes
/
functions.php
File metadata and controls
29 lines (29 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
function poligons($post, $empty, $txt){
if($post){
$username="$txt <u>".$post."</u>";
echo $username;}
else {
$username=null;
echo "$txt $empty<br />";
}
}
function parse_buttons($site, $target){//vse zapisivatb d ''!!!
$html = file_get_html($site);
$element='empty';
foreach($html->find($target) as $element){
echo "<div class='print1'>".$element."</div><br>";
}
// $html->clear();//clear memory
// unset($html);
}
function parse_buttons1($site, $target){//vse zapisivatb d ''!!!
$html = file_get_html($site);
$element='empty';
foreach($html->find($target) as $element){
return($element);
}
// $html->clear();//clear memory
// unset($html);
}
?>