Bel/SMS Extern aanpassen?

Zollerapos

New member
Hej One2xs

Kan ik mijn eigen pagina aanpassen?
In een andere layout gooien ofzo?
Niet met een iframe,
maar de Broncode aanpassen?


Codeblok:



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
30
31
32
33
34
35
36
37
38
39
40
41
42

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Betalen via de telefoon</title>
</head>
<style type="text/css">
<!--
html, body{ height: 100%; }
body{ background: url(img/bg.gif) repeat-x bottom; font: 12px Verdana, Arial, Helvetica, sans-serif; }
form{ margin: 0; padding: 0; }


#container{ border: 1px solid #CCC; margin: 0 auto; width: 400px; padding: 10px; }
h1{ color: #ff6c00; margin: 0 0 5px 0; padding: 0; font-size: 14px; font-weight: bold }
span{ color: #ff6c00; margin: 0 0 5px 0; padding: 0; font-size: 15px; font-weight: bold; }
#one2xs{ font-size: 10px; color: #666; width: 300px; margin: 0 auto; text-align: center; padding: 10px 0; }
a{ color: #ff6c00; }
-->
</style>
<body>

<div id="container">


<h1>Selecteer uw land</h1>

<form action="belextern" method="get">
<input type="radio" value="be" name="land" onchange="document.location.href=belextern?voor=zollerapos&amp;land=+this.value" /> <img src="img/belgie.png" height="12" width="18" alt="" /> Belgi&euml;<br />
<input type="radio" value="nl" name="land" onchange="document.location.href=belextern?voor=zollerapos&amp;land=+this.value" /> <img src="img/nederland.png" height="12" width="18" alt="" /> Nederland
</form>
</div>

<div id="one2xs">

Deze betaling wordt mogelijk gemaakt door<br /><a href="http://www.one2xs.com/" target="_blank">one2xs - gratis hosting en domein</a>

</div>


</body>
</html>




 

Lennard

Active member
Ja idd, als je hem wilt aanpassen heb je die api nodig.
smile.gif
 

Zollerapos

New member
Dat snap ik niet helemaal,
Waar moet ik mijn naam invullen?


Codeblok:



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

[COLOR= #0000BB]<?php[/COLOR]
if[COLOR= #007700]([/COLOR]version_compare[COLOR= #007700]([/COLOR]PHP_VERSION[COLOR= #007700],[/COLOR] [COLOR= #DD0000]5.0.0[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]<[/COLOR][COLOR= #007700]))
{[/COLOR]

die[COLOR= #007700]([/COLOR][COLOR= #DD0000]PHP 5.0.0 of hoger is vereist[/COLOR][COLOR= #007700]);

}[/COLOR]

class api
[COLOR= #007700]{[/COLOR]

private [COLOR= #0000BB]$username[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// gebruikersnaam van de persoon op one2xs[/COLOR]
private [COLOR= #0000BB]$stringtosend[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// GET string om naar de one2xs server te sturen[/COLOR]
private [COLOR= #0000BB]$headers[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// teruggekomen headers door de API class na de request naar de one2xs server[/COLOR]
private [COLOR= #0000BB]$body[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// teruggekomen body door de API class na de request naar de one2xs server[/COLOR]
private [COLOR= #0000BB]$messages[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// berichten in de body (see $body)[/COLOR]
private [COLOR= #0000BB]$url[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// url die door de API wordt aangeroepen[/COLOR]
private [COLOR= #0000BB]$action[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// actie (init of volt)[/COLOR]
private [COLOR= #0000BB]$amount[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// bedrag in euros waarvoor de betaling wordt klaargezet[/COLOR]

public [COLOR= #007700]function[/COLOR] __construct[COLOR= #007700]([/COLOR][COLOR= #0000BB]$username[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$action[/COLOR][COLOR= #007700])
{[/COLOR]

[COLOR= #0000BB]$this[/COLOR][COLOR= #007700]->[/COLOR]username [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$username[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$this[/COLOR][COLOR= #007700]->[/COLOR]messages [COLOR= #007700]=[/COLOR] array[COLOR= #007700]();[/COLOR]
[COLOR= #0000BB]$this[/COLOR][COLOR= #007700]->[/COLOR]action [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$action[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$this[/COLOR][COLOR= #007700]->[/COLOR]url [COLOR= #007700]=[/COLOR] [COLOR= #DD0000][/COLOR][COLOR= #007700];[/COLOR]




 
Bovenaan