Add video Direct naar Hyves

Gestart doorAdmir8 reacties75 weergaven

9 berichten · pagina 1 van 1

Admir

Lid · Topicstarter

Berichten
1.950
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hey ik heb een probleempje,
Zie http://straat-power.nl/index.php?pagina=clip&clip=31 dan zie ik 3 videos wat ik niet wil, ik moet link hebben van clip direct toevoegen op hyves.

Kan iemand me helpen? Dit is de code

<a href="http://www.hyves.nl/profilemanage/add/widget/?title=".$show[artiest]." - ".$show[titel]."&code=".$show[video]." " onclick="hyveThis(".$show[video].",".$show[artiest]." - ".$show[titel].");" style="cursor: pointer;" title="Deze video direct toevoegen aan je Hyves pagina">Hyves
</a>
0
Admir

Lid · Topicstarter

Berichten
1.950
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik heb nou fixed maar titel komt niet @ hyves en de bron ding staat niet helemaal @ link
0
Admir

Lid · Topicstarter

Berichten
1.950
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Kan iemand me AUB helpen, Alleen de link wil niet afsluiten:

NIEMAND DIE HELPT?confused
[COLOR= #0000BB]<?php[/COLOR] 
[COLOR= #007700]<[/COLOR]a href[COLOR= #007700]=[/COLOR][COLOR= #DD0000]"http://www.hyves.nl/profilemanage/add/widget/?title= "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]artiest[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]" - "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]titel[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]" &code=<object width%3D"480" height%3D"295"><param name%3D"movie" value%3D"http%3A//www.youtube.com/v/"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]ytid[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]"%26hl%3Dnl%26fs%3D1"></param><param name%3D"allowFullScreen" value%3D"true"></param><param name%3D"allowscriptaccess" value%3D"always"></param><embed src%3D"http%3A//www.youtube.com/v/"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]ytid[/COLOR][COLOR= #007700]].[/COLOR]"[COLOR= #007700]%[/COLOR][COLOR= #0000BB]26[/COLOR]hl[COLOR= #007700]%[/COLOR][COLOR= #0000BB]3[/COLOR]Dnl[COLOR= #007700]%[/COLOR][COLOR= #0000BB]26[/COLOR]fs[COLOR= #007700]%[/COLOR][COLOR= #0000BB]3[/COLOR]D1" type[COLOR= #007700]%[/COLOR][COLOR= #0000BB]3[/COLOR]D"application/x[COLOR= #007700]-[/COLOR]shockwave[COLOR= #007700]-[/COLOR]flash" width[COLOR= #007700]%[/COLOR][COLOR= #0000BB]3[/COLOR]D"[COLOR= #0000BB]480[/COLOR]" height[COLOR= #007700]%[/COLOR][COLOR= #0000BB]3[/COLOR]D"[COLOR= #0000BB]295[/COLOR]" allowscriptaccess[COLOR= #007700]%[/COLOR][COLOR= #0000BB]3[/COLOR]D"always" allowfullscreen[COLOR= #007700]%[/COLOR][COLOR= #0000BB]3[/COLOR]D"true"[COLOR= #007700]><[/COLOR]/embed[COLOR= #007700]><[/COLOR]/object[COLOR= #007700]>[/COLOR]"[COLOR= #007700]>[/COLOR]Here[COLOR= #007700]<[/COLOR]/a[COLOR= #007700]>[/COLOR]Hyves
?>


[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/include"]include[/URL] [COLOR= #DD0000]config.php[/COLOR][COLOR= #007700];[/COLOR]

[COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]clip[/COLOR][COLOR= #007700]] =[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]clip[/COLOR][COLOR= #007700]]);[/COLOR]

[COLOR= #0000BB]$clips_select[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"

    SELECT 
    * 
    FROM 
        clips 
    WHERE 
        id = "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]clip[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]" 
    LIMIT 1

"[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]

[URL="http://www.php.net/if"]if[/URL][COLOR= #007700](![/COLOR][URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$clips_select[/COLOR][COLOR= #007700]))
{[/COLOR]

    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Deze clip bestaat niet.<br />"[/COLOR][COLOR= #007700];

}[/COLOR]
[URL="http://www.php.net/else"]else[/URL]
[COLOR= #007700]{[/COLOR]

    [URL="http://www.php.net/while"]while[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$show[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$clips_select[/COLOR][COLOR= #007700]))
    {[/COLOR]
        
        [COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]artiest[/COLOR][COLOR= #007700]] =[/COLOR] [URL="http://www.php.net/stripslashes"]stripslashes[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]artiest[/COLOR][COLOR= #007700]]);[/COLOR]
        [COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]artiest[/COLOR][COLOR= #007700]] =[/COLOR] htmlentities[COLOR= #007700]([/COLOR][COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]artiest[/COLOR][COLOR= #007700]]);[/COLOR]
        
        [COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]titel[/COLOR][COLOR= #007700]] =[/COLOR] [URL="http://www.php.net/stripslashes"]stripslashes[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]titel[/COLOR][COLOR= #007700]]);[/COLOR]
        [COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]titel[/COLOR][COLOR= #007700]] =[/COLOR] htmlentities[COLOR= #007700]([/COLOR][COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]titel[/COLOR][COLOR= #007700]]);[/COLOR]
        
        [COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]bron[/COLOR][COLOR= #007700]] =[/COLOR] [URL="http://www.php.net/stripslashes"]stripslashes[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]bron[/COLOR][COLOR= #007700]]);[/COLOR]
        [COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]bron[/COLOR][COLOR= #007700]] =[/COLOR] htmlentities[COLOR= #007700]([/COLOR][COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]bron[/COLOR][COLOR= #007700]]);[/COLOR]

[COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]ytid[/COLOR][COLOR= #007700]] =[/COLOR] [URL="http://www.php.net/stripslashes"]stripslashes[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]ytid[/COLOR][COLOR= #007700]]);[/COLOR]
[COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]ytid[/COLOR][COLOR= #007700]] =[/COLOR] htmlentities[COLOR= #007700]([/COLOR][COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]ytid[/COLOR][COLOR= #007700]]);[/COLOR]

        
        [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"
        
            UPDATE 
                clips 
            SET 
                bekeken = bekeken + 1 
            WHERE 
                id = "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]clip[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]"
        
        "[/COLOR][COLOR= #007700]);[/COLOR]
        
        [COLOR= #0000BB]$titel[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]artiest[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]" - "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]titel[/COLOR][COLOR= #007700]];[/COLOR]
        
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<p><font size="4">".$show[[/COLOR]artiest[COLOR= #DD0000]]." - ".$show[[/COLOR]titel[COLOR= #DD0000]]."</font><br />[/COLOR][COLOR= #007700];[/COLOR]
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<font size="1">".$show[[/COLOR]bekeken[COLOR= #DD0000]]." keer bekeken.</font></p>[/COLOR][COLOR= #007700];[/COLOR]
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<p><center>".$show[[/COLOR]video[COLOR= #DD0000]]."</center></p>[/COLOR][COLOR= #007700];[/COLOR]
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<br />[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<p><b>Promoot Tools</b></p>[/COLOR][COLOR= #007700];[/COLOR]
                 [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<a href="http://www.hyves.nl/profilemanage/add/widget/?title= ".$show[[/COLOR]artiest[COLOR= #DD0000]]." - ".$show[[/COLOR]titel[COLOR= #DD0000]]." &code=<object width%3D"480" height%3D"295"><param name%3D"movie" value%3D"http%3A//www.youtube.com/v/".$show[[/COLOR]ytid[COLOR= #DD0000]]."%26hl%3Dnl%26fs%3D1"></param><param name%3D"allowFullScreen" value%3D"true"></param><param name%3D"allowscriptaccess" value%3D"always"></param><embed src%3D"http%3A//www.youtube.com/v/".$show[[/COLOR]ytid[COLOR= #DD0000]]."%26hl%3Dnl%26fs%3D1" type%3D"application/x-shockwave-flash" width%3D"480" height%3D"295" allowscriptaccess%3D"always" allowfullscreen%3D"true"></embed></object> target="_Blank" />Here</a>Hyves[/COLOR][COLOR= #007700];[/COLOR]


                        

        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<p><font size="4">Andere Clips van ".$show[[/COLOR]artiest[COLOR= #DD0000]]."</font>[/COLOR][COLOR= #007700];[/COLOR]
        
        [COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]artiest[/COLOR][COLOR= #007700]] =[/COLOR] [URL="http://www.php.net/addslashes"]addslashes[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]artiest[/COLOR][COLOR= #007700]]);[/COLOR]
        [COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]titel[/COLOR][COLOR= #007700]] =[/COLOR] [URL="http://www.php.net/addslashes"]addslashes[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]titel[/COLOR][COLOR= #007700]]);[/COLOR]
        
        [COLOR= #0000BB]$meer_clips_select[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"
        
            SELECT 
                id,
                artiest,
                titel 
            FROM 
                clips 
            WHERE 
                artiest LIKE %$show[artiest]% 
            AND 
                titel != "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$show[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]titel[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]" 
            ORDER BY 
                id DESC
        
        "[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
        
        [COLOR= #0000BB]$color[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR] [COLOR= #DD0000]#999999[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]#999999[/COLOR][COLOR= #007700]);[/COLOR]
        [COLOR= #0000BB]$i[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700];[/COLOR]
        [URL="http://www.php.net/if"]if[/URL][COLOR= #007700](![/COLOR][URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$meer_clips_select[/COLOR][COLOR= #007700]))
        {[/COLOR]
        
            [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<br />Er zijn nog geen andere clips van deze artiest(en).<br />"[/COLOR][COLOR= #007700];
        
        }[/COLOR]
        [URL="http://www.php.net/else"]else[/URL]
        [COLOR= #007700]{[/COLOR]
        
            [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<table width="60%" cellpadding="0" cellspacing="0">"[/COLOR][COLOR= #007700];[/COLOR]
            [URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$show2[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$meer_clips_select[/COLOR][COLOR= #007700]))
            {[/COLOR]
                
                [COLOR= #0000BB]$show2[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]artiest[/COLOR][COLOR= #007700]] =[/COLOR] [URL="http://www.php.net/stripslashes"]stripslashes[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$show2[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]artiest[/COLOR][COLOR= #007700]]);[/COLOR]
                [COLOR= #0000BB]$show2[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]titel[/COLOR][COLOR= #007700]] =[/COLOR] [URL="http://www.php.net/stripslashes"]stripslashes[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$show2[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]titel[/COLOR][COLOR= #007700]]);[/COLOR]
                
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<tr><td style=background-color: "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$color[/COLOR][COLOR= #007700][[/COLOR] [COLOR= #0000BB]$i[/COLOR] [COLOR= #007700]] .[/COLOR][COLOR= #DD0000]"><a href="index.php?pagina=clip&clip="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$show2[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]"">"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$show2[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]artiest[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]" - "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$show2[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]titel[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]"</a></td>
                </tr>"[/COLOR][COLOR= #007700];[/COLOR]
                
                [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR] [COLOR= #0000BB]$i[/COLOR] [COLOR= #007700]>[/COLOR] [COLOR= #0000BB]0[/COLOR] [COLOR= #007700])
                {[/COLOR]
                
                    [COLOR= #0000BB]$i[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700];
                
                }[/COLOR]
                [URL="http://www.php.net/else"]else[/URL]
                [COLOR= #007700]{[/COLOR]
                
                    [COLOR= #0000BB]$i[/COLOR][COLOR= #007700]++;
                
                }
            
            }[/COLOR]
            
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"</table>"[/COLOR][COLOR= #007700];
        
        }
    
    }

}[/COLOR]




[URL="http://www.php.net/mysql_close"]mysql_close[/URL][COLOR= #007700]();[/COLOR]
?>
0
Berichten
5.957
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Jij verwacht in 2 uur iemand die help op een niet zo hele grote website?confused
0
Berichten
35.796
Reputatie
1
Punten
0,00
Lid sinds
Laatst gezien
Heb je uberhaupt naar je foutmeldingen gekeken?
0
Admir

Lid · Topicstarter

Berichten
1.950
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Lennard schreef:
Heb je uberhaupt naar je foutmeldingen gekeken?
Ja op dit moment krijg ik geen fout melding
0
Berichten
35.796
Reputatie
1
Punten
0,00
Lid sinds
Laatst gezien
Dan heb je wel een hele gare configuratie op je server.

Parse error: syntax error, unexpected T_STRING, expecting , or ; in... on line 56
Als je naar de kleurtjes kijkt zie je ook al dat t niet klopt.
0
Admir

Lid · Topicstarter

Berichten
1.950
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Lennard schreef:
Dan heb je wel een hele gare configuratie op je server.
Parse error: syntax error, unexpected T_STRING, expecting , or ; in... on line 56
Als je naar de kleurtjes kijkt zie je ook al dat t niet klopt.

Waar zie je dat? ik zie dat niet
0
Berichten
35.796
Reputatie
1
Punten
0,00
Lid sinds
Laatst gezien
Als ik je script hier copypaste en uitvoer krijg ik dat te zien.
Zou jij ook moeten zien met een beetje normaal geconfigureerde server. emo
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren